Threading?

28 views
Skip to first unread message

J. Chan

unread,
Aug 12, 2012, 4:09:18 PM8/12/12
to te...@googlegroups.com
Hello all,

How can I create a thread in TeaJS? I see some mentioning of "fibers," but I was unable to find any documentation on what they are or how they are used.

Thanks,
Jonathan

Ondřej Žára

unread,
Aug 27, 2012, 9:52:55 AM8/27/12
to te...@googlegroups.com
Hi there,

sorry for a delayed reply; I just returned from a vacation.

The "fibers" module does not offer real threads, as only on fiber can be active at a time. TeaJS does not (yet) offer any module that allows creation of threads.

Finally, threading is somewhat limited by the underlying V8 engine: only one thread at a time can access/use the JS environment. This is the primary reason why there is no such TeaJS module.


Sincerely,
Ondrej Zara


2012/8/12 J. Chan <jc...@icebrg.us>

--
You received this message because you are subscribed to the Google Groups "TeaJS (formerly v8cgi)" group.
To post to this group, send email to te...@googlegroups.com.
To unsubscribe from this group, send email to teajs+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/teajs/-/UZBqp_22nwYJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages