
15 Jun
2004
15 Jun
'04
8:30 a.m.
On 07 June 2004 22:59, S. Alexander Jacobson wrote:
When you forkIO and one of the threads blocks (e.g. on a socket or a readchan), do execution automatically resume on other threads and does the blocked thread consume timeslices while it is blocked?
In GHC: yes, no.
In other words, is there any performance penalty in setting timeslices very large in a server app (where all I care about is throughput)?
No. But there probably isn't much to gain either. Cheers, Simon
7645
Age (days ago)
7645
Last active (days ago)
0 comments
1 participants
participants (1)
-
Simon Marlow