Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | thread: Add a Windows pthread variant to print thread identifiers | Martin Willi | 2014-06-03 | 1 | -0/+3 |
| | |||||
* | thread: Properly clean up meta data of main thread | Tobias Brunner | 2014-03-07 | 1 | -0/+2 |
| | |||||
* | thread: implicitly create thread_t if an external thread calls thread_current() | Martin Willi | 2013-07-18 | 1 | -1/+14 |
| | |||||
* | Use SIGUSR2 for SIG_CANCEL on Android | Tobias Brunner | 2013-02-26 | 1 | -0/+4 |
| | | | | | | | | | | SIGRTMIN is defined as 32 while sigset_t is defined as unsigned long (i.e. holds 32 signals). Hence, the signal could never be blocked. Sending the signal still canceled threads, but sometimes in situations where they shouldn't have been canceled (e.g. while holding a lock). Fixes #298. | ||||
* | Moved debug.[ch] to utils folder | Tobias Brunner | 2012-10-24 | 1 | -1/+1 |
| | |||||
* | Moved data structures to new collections subfolder | Tobias Brunner | 2012-10-24 | 1 | -1/+1 |
| | |||||
* | Ensure thread IDs always start with 1 even if the library is reused | Tobias Brunner | 2012-08-13 | 1 | -2/+2 |
| | | | | | | Within the Android App the library stays loaded in memory and is just initialized/deinitialized with each connection, the static thread counter would continuously increase without this patch. | ||||
* | Fix gettid() on Android, which is defined in unistd.h there. | Tobias Brunner | 2012-01-12 | 1 | -3/+4 |
| | |||||
* | Use native gettid() if available (which is the case on Android). | Tobias Brunner | 2012-01-10 | 1 | -3/+11 |
| | |||||
* | Log native thread ID when a thread is created. | Tobias Brunner | 2011-12-16 | 1 | -1/+16 |
| | | | | | If possible gettid() is used, otherwise pthread_self() is logged (which is not completely portable, but seems to work on most supported platforms). | ||||
* | Create a dummy pthread key for value "0", as some buggy PKCS#11 libraries ↵ | Martin Willi | 2011-12-07 | 1 | -0/+10 |
| | | | | mangle it | ||||
* | Migrated thread_t to INIT/METHOD macros. | Tobias Brunner | 2011-10-03 | 1 | -34/+26 |
| | |||||
* | id of non-registered threads defaults to 0 | Andreas Steffen | 2011-05-06 | 1 | -1/+18 |
| | |||||
* | The mutex of a thread has to be locked when destroying it. | Tobias Brunner | 2010-04-29 | 1 | -0/+2 |
| | |||||
* | Adding DBG_LIB to all calls of libstrongswan's version of DBG*. | Tobias Brunner | 2010-04-06 | 1 | -6/+6 |
| | |||||
* | corrected captions | Andreas Steffen | 2010-02-01 | 1 | -2/+2 |
| | |||||
* | Added a workaround for the missing pthread_cancel on Android. | Tobias Brunner | 2009-12-23 | 1 | -0/+35 |
| | |||||
* | Adding an object-oriented wrapper for threads. | Tobias Brunner | 2009-12-23 | 1 | -0/+405 |