When you see A1 and A2 threads, they are doing a mutex-locked countdown. After that B launches and does a countdown as well (thread-from-thread test). Then B does a heavy loop (hard for loop with no sleeps), then it does a sleeper loop (hard for loop with a sleep of 100ms) before both test threads are killed and the system basically does nothing. This is a scheduler demo for the most part :P
When you see A1 and A2 threads, they are doing a mutex-locked countdown. After that B launches and does a countdown as well (thread-from-thread test). Then B does a heavy loop (hard for loop with no sleeps), then it does a sleeper loop (hard for loop with a sleep of 100ms) before both test threads are killed and the system basically does nothing. This is a scheduler demo for the most part :P
dreq934 1 year ago
good job!i love it!
fcdcristy92 1 year ago