summaryrefslogtreecommitdiff
path: root/thread_pthread.h
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-03-30 16:36:31 +0900
committerGitHub <noreply@github.com>2022-03-30 20:36:31 +1300
commit42a0bed351979cb4a59c641fa5f03e49609561fd (patch)
tree615a891e8fa9fbf6f3747d070fc03302341974dc /thread_pthread.h
parent8d27d00af514153819e44eb8e5f4f8631830ae55 (diff)
downloadruby-42a0bed351979cb4a59c641fa5f03e49609561fd.tar.gz
Prefix ccan headers (#4568)
* Prefixed ccan headers * Remove unprefixed names in ccan/build_assert * Remove unprefixed names in ccan/check_type * Remove unprefixed names in ccan/container_of * Remove unprefixed names in ccan/list Co-authored-by: Samuel Williams <samuel.williams@oriontransfer.co.nz>
Diffstat (limited to 'thread_pthread.h')
-rw-r--r--thread_pthread.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/thread_pthread.h b/thread_pthread.h
index 2ac354046c..38a006627a 100644
--- a/thread_pthread.h
+++ b/thread_pthread.h
@@ -19,8 +19,8 @@
typedef struct native_thread_data_struct {
union {
- struct list_node ubf;
- struct list_node gvl;
+ struct ccan_list_node ubf;
+ struct ccan_list_node gvl;
} node;
#if defined(__GLIBC__) || defined(__FreeBSD__)
union
@@ -58,7 +58,7 @@ typedef struct rb_global_vm_lock_struct {
* switching between contended/uncontended GVL won't reset the
* timer.
*/
- struct list_head waitq; /* <=> native_thread_data_t.node.ubf */
+ struct ccan_list_head waitq; /* <=> native_thread_data_t.node.ubf */
const struct rb_thread_struct *timer;
int timer_err;