No need to conditionalize around this macro. It turns
out it is needed even in one case when we configure --without-threads. This commit was SVN r24069.
Этот коммит содержится в:
родитель
66f2301170
Коммит
4b14a6416f
@ -10,6 +10,7 @@
|
||||
* Copyright (c) 2004-2005 The Regents of the University of California.
|
||||
* All rights reserved.
|
||||
* Copyright (c) 2010 Cisco Systems, Inc. All rights reserved.
|
||||
* Copyright (c) 2010 Oracle and/or its affiliates. All rights reserved.
|
||||
* $COPYRIGHT$
|
||||
*
|
||||
* Additional copyrights may follow
|
||||
@ -40,13 +41,7 @@ BEGIN_C_DECLS
|
||||
|
||||
typedef void *(*opal_thread_fn_t) (opal_object_t *);
|
||||
|
||||
#ifdef __WINDOWS__
|
||||
#define OPAL_THREAD_CANCELLED ((void*)1);
|
||||
#elif OPAL_HAVE_POSIX_THREADS
|
||||
#define OPAL_THREAD_CANCELLED ((void*)1);
|
||||
#elif OPAL_HAVE_SOLARIS_THREADS
|
||||
#define OPAL_THREAD_CANCELLED ((void*)1);
|
||||
#endif
|
||||
|
||||
struct opal_thread_t {
|
||||
opal_object_t super;
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user