Re: listen (sock, back)
- Posted by jimcbrown (admin) Mar 24, 2010
- 1277 views
FredRansom said...
When listen (sock, back) is active, existing communications sockets cannot work because there is no cpu time for them. Only one connection can be permitted.
Euphoria 4, MS Window Vista, win32lib, EU 4 sockets
Multitasking is used throughout.
This is a known limitation of the tasking system. In 4.0 we now use threads, but there is a big global lock so nearly all of the time only one thread is allowed to run. (On Unix (including Mac OS X) this issue is easily worked around by using fork() instead of tasks.)