You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to nod...@googlegroups.com
hello
i want to create a thread with nodeJs but i didn't find any document to help me.just i find that nodeJs didn't support multiThreading
help me please
Aria Stewart
unread,
Feb 15, 2015, 12:51:40 PM2/15/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to nod...@googlegroups.com
Correct: Node does not reveal any threading to the Javascript execution.
There are threads under the hood to manage IO inside of libuv, because Unix non-blocking IO APIs don't fully function.
What are you trying to accomplish with threading?
Aria
mima yola
unread,
Feb 15, 2015, 12:59:43 PM2/15/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to nod...@googlegroups.com
in my application i have a server how manage the many packet so i want to call a thread to synchronise the received packet
Bruno Jouhier
unread,
Feb 16, 2015, 3:02:00 AM2/16/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to nod...@googlegroups.com
You don't need threads for this. With node's async model you can handle many requests efficiently on a single thread. Requests spend most of their time doing I/O. While they are doing I/O, other requests can pop in and be serviced.