summaryrefslogtreecommitdiffstats
path: root/src/kernel/qthread_unix.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Rename threading nt* related files to equivalent tq*Michele Calgaro2024-06-301-569/+0
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fix to compare thread_id with `pthread_equal()`OBATA Akio2024-05-231-1/+1
| | | | | | `pthread_t` is an opaque type, should not be compared with `==`. Signed-off-by: OBATA Akio <obache@wizdas.com>
* Fix TQThreadStorage destruction in the main threadAlexander Golubev2024-03-181-0/+5
| | | | | | | | | | | | | | | Before that the allocations of TQThreadStorage objects from the main thread were never destroyed and memory associated with them were never freed. The second one isn't a huge problem as at that point program is terminating anyway (but it still makes valgrind complain). The first one is the bigger issue as destructors might contain some essential external cleanups like removing temporary files. Also make `TQApplication::guiThread()` return `0` when the thread is destroyed (may happen on the program exiting during destruction of statics). Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* Remove deprecated glib2 function calls g_thread_get_initialized(), ↵gregory guy2021-06-181-7/+8
| | | | | | g_thread_init() and g_thread_create(). Signed-off-by: gregory guy <gregory-tde@laposte.net>
* Fix to detect Thread Execution Scheduling support correctlyOBATA Akio2020-08-041-1/+4
| | | | | | | If `_POSIX_THREAD_PRIORITY_SCHEDULING == 0`, it must be checked with sysconf(_SC_THREAD_PRIORITY_SCHEDULING) at runtime. Signed-off-by: OBATA Akio <obache@wizdas.com>
* Conversion QT_THREAD_SUPPORT -> TQT_THREAD_SUPPORT. This is part of theMichele Calgaro2018-09-161-2/+2
| | | | | | | qt->tqt conversion and is required to align to corresponding patch for common/admin module. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Automated update from Qt3Timothy Pearson2013-12-221-1/+1
|
* Automated update from Qt3Timothy Pearson2013-11-041-2/+4
|
* Automated update from Qt3Timothy Pearson2013-11-031-1/+7
|
* Automated update from Qt3Timothy Pearson2013-07-231-1/+5
|
* Automated update from Qt3Timothy Pearson2013-05-141-3/+37
|
* Automated update from Qt3Timothy Pearson2013-05-011-4/+30
|
* Automated update from Qt3Timothy Pearson2012-12-061-16/+30
|
* Automated conversion from qt3Timothy Pearson2012-02-281-11/+11
|
* Update to latest tqt3 automated conversionTimothy Pearson2012-01-261-2/+2
|
* Sync with latest scriptTimothy Pearson2011-12-051-1/+1
|
* Test conversion to TQt3 from Qt3 8c6fc1f8e35fd264dd01c582ca5e7549b32ab731Timothy Pearson2011-11-081-0/+474