[vwnc] Determining if a mutual exclusion semephore is working or not

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[vwnc] Determining if a mutual exclusion semephore is working or not

Rick Flower
In my quest to find out why a mutex semaphore fails to work under  
FreeBSD, I thought I'd write up some test code tonight... With that in  
mind, can I just create a mutual exclusion semaphore and then invoke a  
method that uses the critical: [ ... ] notation and see if any code is  
executed in the block or if it hangs?

On Unix platforms, are the underlying OS provided IPC functions  
utilized (eg. sem_init, sem_wait, etc) or something hand rolled  
internally?

Thanks!
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc