/[cvs]/joko/Uni/BSArch/02/bakery.h
ViewVC logotype

Annotation of /joko/Uni/BSArch/02/bakery.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations)
Fri May 26 10:43:01 2006 UTC (18 years, 6 months ago) by joko
Branch: MAIN
File MIME type: text/plain
+ initial commit

1 joko 1.1
2     # ifndef __bakery_h
3     # define __bakery_h
4    
5     /* Datenstruktur für einen kritischen Abschnitt */
6     typedef struct _crit_sec {
7     /* TODO */
8     } *MY_LPCRITICAL_SECTION;
9    
10     void My_InitializeCriticalSection( MY_LPCRITICAL_SECTION * sec );
11     void My_DeleteCriticalSection( MY_LPCRITICAL_SECTION sec );
12    
13     /* ThId = thread id */
14     void My_EnterCriticalSection( int ThId, MY_LPCRITICAL_SECTION sec );
15     void My_LeaveCriticalSection( int ThId, MY_LPCRITICAL_SECTION sec );
16    
17     # endif
18    

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed