Advertisement

Multithreading within a class

Started by February 22, 2001 04:43 PM
19 comments, last by griffenjam 23 years, 11 months ago
Yup I agree , I hope we have straightened out some things (probably we just messed them up ). And about Peterson''s algorithm, besides the fact that it doesn''t scale well for 2+ threads, it also uses busy-wait, which is a big no-no (since that means unneccessary thread-switches (and therefor context-switches)).

This topic is closed to new replies.

Advertisement