[dylan-lang/opendylan] 7d73aa: [run-time] Fully describe layout of Dylan's thread...
GitHub <[email protected]> Thu, 14 Jan 2016 18:56:33 -0800
| Newsgroups | gmane.comp.lang.dylan.gwydion.cvs |
|---|---|
| Message-ID | <56985fe1bce35_612f3fd52a1112c0177714@hookshot-fe4-cp1-prd.iad.github.net.mail> |
----==_mimepart_56985fe1bc9cf_612f3fd52a1112c01776a7
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Branch: refs/heads/master
Home: https://github.com/dylan-lang/opendylan
Commit: 7d73aae9381f7a9f4ce0044c59a91d7cc7dcde42
https://github.com/dylan-lang/opendylan/commit/7d73aae9381f7a9f4ce0044c59a91d7cc7dcde42
Author: Bruce Mitchener <[email protected]>
Date: 2016-01-14 (Thu, 14 Jan 2016)
Changed paths:
M sources/lib/run-time/posix-threads.h
M sources/lib/run-time/unix-threads-primitives.h
M sources/lib/run-time/windows-threads-primitives.h
Log Message:
-----------
[run-time] Fully describe layout of Dylan's thread object.
Subsequent changes will make use of data from the thread
objects, so it is best if we have a full description of
the object.
* sources/lib/run-time/posix-threads.h
(DTHREAD): Add missing slot members.
* sources/lib/run-time/unix-threads-primitives.h
(DTHREAD): Add missing slot members.
* sources/lib/run-time/windows-threads-primitives.h
(DTHREAD): Add missing slot members.
Commit: 7ff166689bf88a70f3b4937690d734925a91493f
https://github.com/dylan-lang/opendylan/commit/7ff166689bf88a70f3b4937690d734925a91493f
Author: Bruce Mitchener <[email protected]>
Date: 2016-01-14 (Thu, 14 Jan 2016)
Changed paths:
M sources/lib/run-time/posix-threads.c
M sources/lib/run-time/posix-threads.h
Log Message:
-----------
[run-time] posix threads can use thread->thread_name.
Now that we have fully described the layout of the thread object,
we can use the thread_name value stored on it rather than getting
it from the parameters of the call to primitive-make-thread
and then storing it on a separate run-time object (THREAD).
* sources/lib/run-time/posix-threads.c
(trampoline): Get thread name from the Dylan thread object.
(primitive_make_thread): Don't store the name passed in from
the arguments.
* sources/lib/run-time/posix-threads.h
(THREAD): Remove member for the thread name since we'll use the
value from the DTHREAD now.
Commit: ba5bd3826e014315fa1ed1e00d450a6d06dc42f0
https://github.com/dylan-lang/opendylan/commit/ba5bd3826e014315fa1ed1e00d450a6d06dc42f0
Author: Bruce Mitchener <[email protected]>
Date: 2016-01-14 (Thu, 14 Jan 2016)
Changed paths:
M sources/lib/run-time/posix-threads.c
M sources/lib/run-time/unix-threads-primitives.c
M sources/lib/run-time/windows-threads-primitives.c
Log Message:
-----------
[run-time] Clean up thread priority a bit.
* sources/lib/run-time/posix-threads.c
(primitive_make_thread): Remove usages of the priority parameter
and alter to use the value from the Dylan thread object.
* sources/lib/run-time/unix-threads-primitives.c
(primitive_make_thread): Likewise.
* sources/lib/run-time/windows-threads-primitives.c
(primitive_make_thread): Likewise.
Commit: a9fab60fa2fd2925679fefad812a4b7841883783
https://github.com/dylan-lang/opendylan/commit/a9fab60fa2fd2925679fefad812a4b7841883783
Author: Bruce Mitchener <[email protected]>
Date: 2016-01-14 (Thu, 14 Jan 2016)
Changed paths:
M documentation/hacker-guide/source/runtime/primitives.rst
M sources/dfmc/llvm-back-end/llvm-primitives-thread.dylan
M sources/dfmc/modeling/thread-primitives.dylan
M sources/dylan/thread.dylan
M sources/lib/run-time/dummy-threads.c
M sources/lib/run-time/llvm-posix-threads.c
M sources/lib/run-time/posix-threads.c
M sources/lib/run-time/run-time.h
M sources/lib/run-time/tests/queue_test.c
M sources/lib/run-time/tests/threads_primitives_test.c
M sources/lib/run-time/unix-threads-primitives.c
M sources/lib/run-time/unix-threads-primitives.h
M sources/lib/run-time/windows-threads-primitives.c
M sources/lib/run-time/windows-threads-primitives.h
Log Message:
-----------
Remove unused args from primitive-make-thread.
Now that we get the thread name and priority from the thread
object, we no longer need to pass them to primitive-make-thread.
* documentation/hacker-guide/source/runtime/primitives.rst: Update.
* sources/dfmc/llvm-back-end/llvm-primitives-thread.dylan
(primitive-make-thread): Remove unused args.
* sources/dfmc/modeling/thread-primitives.dylan
(primitive-make-thread): Remove unused args.
* sources/dylan/thread.dylan
(initialize on <thread>): Don't pass name and priority to
primitive-make-thread.
(priority): Ignore this since nothing in Dylan-land currently uses
it as this value is intended for use by the run-time.
* sources/lib/run-time/dummy-threads.c
(primitive-make-thread): Remove unused args.
* sources/lib/run-time/llvm-posix-threads.c
(primitive-make-thread): Likewise.
* sources/lib/run-time/posix-threads.c
(primitive-make-thread): Likewise.
* sources/lib/run-time/run-time.h
(primitive-make-thread): Likewise.
* sources/lib/run-time/unix-threads-primitives.c
(primitive-make-thread): Likewise.
* sources/lib/run-time/unix-threads-primitives.h
(primitive-make-thread): Likewise.
* sources/lib/run-time/windows-threads-primitives.c
(primitive-make-thread): Likewise.
* sources/lib/run-time/windows-threads-primitives.h
(primitive-make-thread): Likewise.
* sources/lib/run-time/tests/queue_test.c: Update calls to
primitive-make-thread.
* sources/lib/run-time/tests/threads_primitives_test.c: Likewise.
Commit: f54bb0151e802a8df7b5d41c40c012c959ef3d80
https://github.com/dylan-lang/opendylan/commit/f54bb0151e802a8df7b5d41c40c012c959ef3d80
Author: Peter S. Housel <[email protected]>
Date: 2016-01-14 (Thu, 14 Jan 2016)
Changed paths:
M documentation/hacker-guide/source/runtime/primitives.rst
M sources/dfmc/llvm-back-end/llvm-primitives-thread.dylan
M sources/dfmc/modeling/thread-primitives.dylan
M sources/dylan/thread.dylan
M sources/lib/run-time/dummy-threads.c
M sources/lib/run-time/llvm-posix-threads.c
M sources/lib/run-time/posix-threads.c
M sources/lib/run-time/posix-threads.h
M sources/lib/run-time/run-time.h
M sources/lib/run-time/tests/queue_test.c
M sources/lib/run-time/tests/threads_primitives_test.c
M sources/lib/run-time/unix-threads-primitives.c
M sources/lib/run-time/unix-threads-primitives.h
M sources/lib/run-time/windows-threads-primitives.c
M sources/lib/run-time/windows-threads-primitives.h
Log Message:
-----------
Merge pull request #1021 from waywardmonkeys/threads-cleanup
Threads cleanup
Compare: https://github.com/dylan-lang/opendylan/compare/b7d23bf625b2...f54bb0151e80
----==_mimepart_56985fe1bc9cf_612f3fd52a1112c01776a7
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
chatter mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/chatter
----==_mimepart_56985fe1bc9cf_612f3fd52a1112c01776a7--