Anonymous user
Rendezvous: Difference between revisions
m
→OpenMP implementation: Fix header level
m (→Pthreads implementation: Fix header level) |
m (→OpenMP implementation: Fix header level) |
||
Line 461:
</lang>
=== OpenMP implementation ===
Basically just synched threads doing printing: since task didn't ask for service type or resource enumeration, and "message passing is stupid" (c.f. talk), the guarding thread is no more than a glorified mutex, hence completely cut out, leaving the threads directly check ink and do print.
<lang C>#include <stdio.h>
|