Use TLS variables instead of pthread specific interface
Registered by
Alexey Kopytov
We should make use of the TLS mechanism provided by some compilers and platforms (notably GCC on Linux) instead of the slow pthread specific interface.
Current users of thread-local variables:
- current_thd
- my_errno
- sql_alloc
- performance schema
- threadpool
References:
- http://
- https:/
- http://
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Medium
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- Approved
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
(?)