-
Notifications
You must be signed in to change notification settings - Fork 5
QThreadStorage
Ivailo Monev edited this page May 14, 2019
·
6 revisions
This was done in https://github.com/fluxer/katie/commit/adfc21fc0f323539fe8db0716e09df2ed12b3b8a, alternative to it is static
thread_local member.
No source compatible methods are in place because you should evaluate how to handle this in your projects. For an example:
class MyClass {
QThreadStorage<int> mymember;
};
Should be changed to:
class MyClass {
static thread_local int mymember;
};
thread_local int MyClass::mymember = 0;
Katie is part of the Katana Desktop Environment project.