mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-25 03:32:12 +01:00
g_system_thread_join: rename to _wait()
This commit is contained in:
parent
4bb968e335
commit
dc3727cc5f
@ -1140,7 +1140,7 @@ g_thread_yield (void)
|
||||
}
|
||||
|
||||
void
|
||||
g_system_thread_join (GRealThread *thread)
|
||||
g_system_thread_wait (GRealThread *thread)
|
||||
{
|
||||
gpointer ignore;
|
||||
posix_check_cmd (pthread_join (*(pthread_t*)&(thread->system_thread), &ignore));
|
||||
|
@ -539,7 +539,7 @@ g_thread_yield (void)
|
||||
}
|
||||
|
||||
void
|
||||
g_system_thread_join (GRealThread *thread)
|
||||
g_system_thread_wait (GRealThread *thread)
|
||||
{
|
||||
GThreadData *target = *(GThreadData **)&(thread->system_thread);
|
||||
|
||||
|
@ -883,7 +883,7 @@ g_thread_join (GThread *thread)
|
||||
g_return_val_if_fail (thread, NULL);
|
||||
g_return_val_if_fail (thread->joinable, NULL);
|
||||
|
||||
g_system_thread_join (real);
|
||||
g_system_thread_wait (real);
|
||||
|
||||
retval = real->retval;
|
||||
|
||||
|
@ -32,7 +32,7 @@ G_BEGIN_DECLS
|
||||
typedef struct _GRealThread GRealThread;
|
||||
|
||||
G_GNUC_INTERNAL
|
||||
void g_system_thread_join (GRealThread *thread);
|
||||
void g_system_thread_wait (GRealThread *thread);
|
||||
|
||||
G_GNUC_INTERNAL
|
||||
GRealThread * g_system_thread_new (void);
|
||||
|
Loading…
x
Reference in New Issue
Block a user