~ubuntu-branches/ubuntu/trusty/libsdl2/trusty-proposed

« back to all changes in this revision

Viewing changes to include/SDL_mutex.h

  • Committer: Package Import Robot
  • Author(s): Manuel A. Fernandez Montecelo
  • Date: 2013-12-28 12:31:19 UTC
  • mto: (7.1.3 sid)
  • mto: This revision was merged to the branch mainline in revision 7.
  • Revision ID: package-import@ubuntu.com-20131228123119-wehupm72qsjvh6vz
Tags: upstream-2.0.1+dfsg1
ImportĀ upstreamĀ versionĀ 2.0.1+dfsg1

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
/**
53
53
 *  \name Mutex functions
54
54
 */
55
 
/*@{*/
 
55
/* @{ */
56
56
 
57
 
/* The SDL mutex structure, defined in SDL_mutex.c */
 
57
/* The SDL mutex structure, defined in SDL_sysmutex.c */
58
58
struct SDL_mutex;
59
59
typedef struct SDL_mutex SDL_mutex;
60
60
 
94
94
 */
95
95
extern DECLSPEC void SDLCALL SDL_DestroyMutex(SDL_mutex * mutex);
96
96
 
97
 
/*@}*//*Mutex functions*/
 
97
/* @} *//* Mutex functions */
98
98
 
99
99
 
100
100
/**
101
101
 *  \name Semaphore functions
102
102
 */
103
 
/*@{*/
 
103
/* @{ */
104
104
 
105
 
/* The SDL semaphore structure, defined in SDL_sem.c */
 
105
/* The SDL semaphore structure, defined in SDL_syssem.c */
106
106
struct SDL_semaphore;
107
107
typedef struct SDL_semaphore SDL_sem;
108
108
 
154
154
 */
155
155
extern DECLSPEC Uint32 SDLCALL SDL_SemValue(SDL_sem * sem);
156
156
 
157
 
/*@}*//*Semaphore functions*/
 
157
/* @} *//* Semaphore functions */
158
158
 
159
159
 
160
160
/**
161
161
 *  \name Condition variable functions
162
162
 */
163
 
/*@{*/
 
163
/* @{ */
164
164
 
165
 
/* The SDL condition variable structure, defined in SDL_cond.c */
 
165
/* The SDL condition variable structure, defined in SDL_syscond.c */
166
166
struct SDL_cond;
167
167
typedef struct SDL_cond SDL_cond;
168
168
 
237
237
extern DECLSPEC int SDLCALL SDL_CondWaitTimeout(SDL_cond * cond,
238
238
                                                SDL_mutex * mutex, Uint32 ms);
239
239
 
240
 
/*@}*//*Condition variable functions*/
 
240
/* @} *//* Condition variable functions */
241
241
 
242
242
 
243
243
/* Ends C function definitions when using C++ */