~ubuntu-branches/ubuntu/utopic/coreutils/utopic-proposed

« back to all changes in this revision

Viewing changes to gnulib-tests/glthread/thread.h

  • Committer: Colin Watson
  • Date: 2013-10-30 15:48:33 UTC
  • mfrom: (8.3.5 sid)
  • Revision ID: cjwatson@canonical.com-20131030154833-xdt6e1yfffqom1c4
merge from Debian 8.21-1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* Creating and controlling threads.
2
 
   Copyright (C) 2005-2012 Free Software Foundation, Inc.
 
2
   Copyright (C) 2005-2013 Free Software Foundation, Inc.
3
3
 
4
4
   This program is free software; you can redistribute it and/or modify
5
5
   it under the terms of the GNU General Public License as published by
74
74
#include <errno.h>
75
75
#include <stdlib.h>
76
76
 
 
77
_GL_INLINE_HEADER_BEGIN
 
78
#ifndef _GLTHREAD_THREAD_INLINE
 
79
# define _GLTHREAD_THREAD_INLINE _GL_INLINE
 
80
#endif
 
81
 
77
82
/* ========================================================================= */
78
83
 
79
84
#if USE_POSIX_THREADS
360
365
extern "C" {
361
366
#endif
362
367
 
363
 
static inline gl_thread_t
 
368
_GLTHREAD_THREAD_INLINE gl_thread_t
364
369
gl_thread_create (void *(*func) (void *arg), void *arg)
365
370
{
366
371
  gl_thread_t thread;
397
402
}
398
403
#endif
399
404
 
 
405
_GL_INLINE_HEADER_END
 
406
 
400
407
#endif /* _GLTHREAD_THREAD_H */