Subversion Repositories Kolibri OS

Rev

Rev 4383 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4383 Rev 4396
Line 70... Line 70...
70
#include 
70
#include 
71
#ifdef __MINGW32__
71
#ifdef __MINGW32__
72
#include <_mingw.h>
72
#include <_mingw.h>
73
#endif
73
#endif
Line 74... Line 74...
74
 
74
 
75
#ifndef ___GLIBCXX_UNUSED_PARAM
75
#ifndef __UNUSED_PARAM
76
#define ___GLIBCXX_UNUSED_PARAM(x) x
76
#define __UNUSED_PARAM(x) x
Line 77... Line 77...
77
#endif
77
#endif
Line 78... Line 78...
78
 
78
 
Line 293... Line 293...
293
 
293
 
Line 294... Line 294...
294
/* Backend condition mutex functions */
294
/* Backend condition mutex functions */
295
 
295
 
296
/* Allocate a condition.  */
296
/* Allocate a condition.  */
297
int
297
int
298
__gthread_objc_condition_allocate (objc_condition_t ___GLIBCXX_UNUSED_PARAM(condition))
298
__gthread_objc_condition_allocate (objc_condition_t __UNUSED_PARAM(condition))
299
{
299
{
300
  /* Unimplemented.  */
300
  /* Unimplemented.  */
Line 301... Line 301...
301
  return -1;
301
  return -1;
302
}
302
}
303
 
303
 
304
/* Deallocate a condition.  */
304
/* Deallocate a condition.  */
305
int
305
int
306
__gthread_objc_condition_deallocate (objc_condition_t ___GLIBCXX_UNUSED_PARAM(condition))
306
__gthread_objc_condition_deallocate (objc_condition_t __UNUSED_PARAM(condition))
307
{
307
{
Line 308... Line 308...
308
  /* Unimplemented.  */
308
  /* Unimplemented.  */
309
  return -1;
309
  return -1;
310
}
310
}
311
 
311
 
312
/* Wait on the condition */
312
/* Wait on the condition */
313
int
313
int
314
__gthread_objc_condition_wait (objc_condition_t ___GLIBCXX_UNUSED_PARAM(condition),
314
__gthread_objc_condition_wait (objc_condition_t __UNUSED_PARAM(condition),
315
			       objc_mutex_t ___GLIBCXX_UNUSED_PARAM(mutex))
315
			       objc_mutex_t __UNUSED_PARAM(mutex))
Line 316... Line 316...
316
{
316
{
317
  /* Unimplemented.  */
317
  /* Unimplemented.  */
318
  return -1;
318
  return -1;
319
}
319
}
320
 
320
 
321
/* Wake up all threads waiting on this condition.  */
321
/* Wake up all threads waiting on this condition.  */
322
int
322
int
Line 323... Line 323...
323
__gthread_objc_condition_broadcast (objc_condition_t ___GLIBCXX_UNUSED_PARAM(condition))
323
__gthread_objc_condition_broadcast (objc_condition_t __UNUSED_PARAM(condition))
324
{
324
{
325
  /* Unimplemented.  */
325
  /* Unimplemented.  */
326
  return -1;
326
  return -1;
327
}
327
}
328
 
328
 
329
/* Wake up one thread waiting on this condition.  */
329
/* Wake up one thread waiting on this condition.  */