memesearch
When a Thread Is Just a Struct

When a Thread Is Just a Struct

Download Find similar pictures
Text on the meme
A thread 🧵 struct thread { uint64_t errno; int64_t tid; registers_t reg; lock_t lock; lock_t yield_lock; enum thread_states state; uint64_t runtime; uint64_t stack; uint64_t pf_stack; uint64_t kernel_stack; uint64_t last_scheduled; void *fpu_storage; size_t which_event; size_t attached_events_i; struct event *attached_events[MAX_EVENTS]; struct process *mother_proc; uint64_t gs_base; uint64_t fs_base; struct thread *next; };
What it means

A social media post introduces “A thread” with a thread emoji, then shows a C-style struct containing the fields of an operating-system thread. The joke is a programmer’s literal interpretation of a social-media thread as a low-level data structure, mixing online terminology with systems programming.

Objects
Tags
Sources
Type
image
Size
496×575 · 28.8 KiB
Mood
dry, nerdy
Language
en
Added