Project

General

Profile

Actions

Feature #600

open

thread-local storage

Added by Alina Lenk about 1 year ago. Updated 7 days ago.

Status:
In Review
Priority:
Normal
Category:
General
Target version:
Start date:
05/12/2024
Due date:
% Done:

0%

Estimated time:

Description

Split from / required for #554. Add compiler-dependent fc_thread_local to fcthread.h for declaring thread-local static variables.


Files


Related issues 2 (2 open0 closed)

Blocks Feature #554: Detect infinite recursion when evaluating requirementsIn ProgressAlina Lenk05/04/2024

Actions
Blocked by Feature #1434: fc_thread_self() / fc_threads_equal()In ReviewMarko Lindqvist05/23/2025

Actions
Actions #1

Updated by Alina Lenk about 1 year ago

  • Blocks Feature #554: Detect infinite recursion when evaluating requirements added
Actions #2

Updated by Marko Lindqvist about 1 year ago

Note that we only need a way to read and write thread-specific data, nothing more. So simply having a thread-implementation-agnostic method for getting current thread id, and means to compare such ids, would go a long way, though we likely want to make the interface a bit more user-friendly.

Actions #3

Updated by Marko Lindqvist 12 days ago

  • Related to Feature #1434: fc_thread_self() / fc_threads_equal() added
Actions #4

Updated by Marko Lindqvist 12 days ago

  • Related to deleted (Feature #1434: fc_thread_self() / fc_threads_equal())
Actions #5

Updated by Marko Lindqvist 12 days ago

  • Blocked by Feature #1434: fc_thread_self() / fc_threads_equal() added
Actions #6

Updated by Marko Lindqvist 12 days ago

Marko Lindqvist wrote in #note-2:

So simply having a thread-implementation-agnostic method for getting current thread id, and means to compare such ids

That's #1434

We will also need a way to get notified about thread's exit, to know to free() the memory. I plan to implement that part in this ticket.

Actions

Also available in: Atom PDF