Home | History | Annotate | Download | only in config

Lines Matching refs:generation

85   unsigned int generation[MAX_KEYS];
136 __gthread_key_create) iff its generation count in this structure is
141 A key is actually valid in a thread T iff the generation count
142 stored in this structure is equal to the generation count stored in
150 unsigned int generation[MAX_KEYS];
153 #define KEY_VALID_P(key) !(tls_keys.generation[key] & 1)
156 to match. All the generation counts begin at 1, which means no
175 This routine does not need to take tls_lock; the generation
192 if (data->generation[key] == tls_keys.generation[key])
257 tls_keys.generation[key]++; /* making it even */
284 tls_keys.generation[key]++; /* making it odd */
311 if (data->generation[key] != tls_keys.generation[key])
320 The generation count protects this function against races with
322 value is successfully stored into a dead generation (and then
324 to read tls_keys.generation[key] atomically. */
330 unsigned int generation;
362 generation = tls_keys.generation[key];
364 if (generation & 1)
367 data->generation[key] = generation;