mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-19 05:39:17 +02:00
Updated comments
This commit is contained in:
parent
4e5266a78d
commit
f5a36697df
1 changed files with 3 additions and 2 deletions
|
@ -114,8 +114,9 @@
|
|||
"(void *data, int argc, closure _, object k)"
|
||||
" Cyc_end_thread(data); ")
|
||||
|
||||
;; TODO: not good enough, need to return value from thread
|
||||
;; TODO: also not good enough because threads are started detached right now, which makes them unjoinable. need to reconcile that with the SRFI 18 requirement to have a join API
|
||||
;; TODO: not good enough, need to return value from thread
|
||||
;; TODO: perhaps not an ideal solution using a loop/polling below, but good
|
||||
;; enough with detached threads and our other constraints.
|
||||
(define-c %thread-join!
|
||||
"(void *data, int argc, closure _, object k, object thread_data_opaque)"
|
||||
" gc_thread_data *td = (gc_thread_data *)(opaque_ptr(thread_data_opaque));
|
||||
|
|
Loading…
Add table
Reference in a new issue