login
Header Space

 
 

Re: thread scheduling at mutex unlock

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <davids@...>
Cc: <freebsd-stable@...>, <freebsd-threads@...>
Date: Thursday, May 15, 2008 - 4:56 pm

on 15/05/2008 22:29 David Schwartz said the following:

David,

thank you for the tutorial, it is quite enlightening.
But first of all, did you take a look at my small test program?
There are 1 second sleeps in it, this is not about timeslices and 
scheduling at that level at all. This is about basic expectation about 
fairness of acquiring a lock at macro level. I know that when one thread 
acquires and releases and reacquires a mutex during 10 seconds while the 
other thread is blocked on that mutex for 10 seconds, then this is not 
about timeslices.

-- 
Andriy Gapon
_______________________________________________
freebsd-threads@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-threads
To unsubscribe, send any mail to "freebsd-threads-unsubscribe@freebsd.org"
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: thread scheduling at mutex unlock, Andriy Gapon, (Thu May 15, 5:01 am)
RE: thread scheduling at mutex unlock, David Schwartz, (Thu May 15, 3:29 pm)
Re: thread scheduling at mutex unlock, Andriy Gapon, (Thu May 15, 4:56 pm)
RE: thread scheduling at mutex unlock, David Schwartz, (Thu May 15, 6:37 pm)
speck-geostationary