Closed GoogleCodeExporter closed 9 years ago
I understand your need and the behavior you describe is quite interesting but
implementing such functionality will force me to enable threadsafe for
SpiderMonkey
and jslibs. SpiderMonkey already has threadsafe facility but jslibs not.
Managing ctrl-c with socket is not an issue and cab be done like this:
while(!endSignal) {
Poll( <socket descriptor list> , <timeout>);
}
If you set a small timeout (like 250 millisecond or less), the ctrl-c will be
taken
in account quite quickly without any penalty for your application.
Original comment by sou...@gmail.com
on 14 Nov 2008 at 6:17
Note that I accept this issue (with a low priority) because if I will have need
to
manage thread safety for jslibs, this issue will be fixed easily.
Original comment by sou...@gmail.com
on 14 Nov 2008 at 6:37
see ProcessEvents(Descriptor.Events(descList), EndSignalEvents(),
TimeoutEvents(100)); ...
Original comment by sou...@gmail.com
on 2 Jun 2011 at 10:54
Original issue reported on code.google.com by
nadir.se...@gmail.com
on 12 Nov 2008 at 12:03