Commit graph

13 commits

Author SHA1 Message Date
Zackery Spytz
5c19f4de2f [OCaml] Add missing warning filters for OCaml keywords in the test suite 2018-12-31 05:55:10 -07:00
William S Fulton
5a388863fa director_thread test fixes for MacOS
Add extra debugging and correctly detect MacOS using __APPLE__ macro
2018-12-21 19:08:15 +00:00
William S Fulton
1faf5a879f Avoid thread name checking testing on MacOS
It's not working!
2018-12-21 09:13:09 +00:00
William S Fulton
50f223f454 Fix director_thread test for MacOS
pthread_setname_np is defined differently on MacOS
2018-12-21 09:13:09 +00:00
William S Fulton
3195c3e4da Java directors - more generic thread name setting
Activated if a user sets SWIG_JAVA_USE_THREAD_NAME.
Implementations provided for linux/android/macos/unix.
A user's implementation will be used if SWIG_JAVA_GET_THREAD_NAME is
defined. It must implement the function:
  namespace Swig {
    SWIGINTERN int GetThreadName(char *name, size_t len);
  }
2018-10-08 21:38:41 +01:00
William S Fulton
e05412088f director_thread testcase fix 2017-05-12 19:41:31 +01:00
William S Fulton
be5d046f7d director_thread testcase improvements
- Add missing threading constructs to director_thread test for Windows
- pthreads tidy up
2017-05-12 18:57:37 +01:00
William S Fulton
e8e56f74ca Fix thread race in director_thread test 2017-05-12 07:41:40 +01:00
Haoyu Bai
0c5979a8d8 Fix problem caused by thread not properly terminated in director_thread test. This was cause crash in Python 3
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11161 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-03-19 16:56:01 +00:00
William S Fulton
ba8acb59a7 Fix win32 threads
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9253 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-16 20:51:50 +00:00
William S Fulton
5d146ae426 Ported threading to win32
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9247 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-11 22:55:19 +00:00
William S Fulton
34c750a604 "threads" in %module only needed by python - but then is it really needed??
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9244 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-11 22:34:08 +00:00
William S Fulton
f7c8948a58 This is file is not new, it has been moved from the python subdirectory so it can be used by all language modules
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9241 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-11 22:09:46 +00:00