[MDEV-9189] Reduce usage of current_thd Created: 2015-11-25 Updated: 2016-10-08 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | OTHER |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major |
| Reporter: | Sergey Vojtovich | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 1 |
| Labels: | None | ||
| Epic Link: | Performance: micro optimizations |
| Description |
|
current_thd needs to call relatively heavy pthread_getspecific(). There're many cases when we can easily get current thread as a parameter. |