Commit Graph

41 Commits

Author SHA1 Message Date
Jeff Hill
20bd4e9b23 fixed no try catch block for exceptions occurring when fetching the time to print a diagnostic message in the last chance exception handler. 2009-05-11 21:52:19 +00:00
Andrew Johnson
a7a6c01bea Removed the pthread_cancel() functionality from posix/osdThread.c,
resolving the whole issue with catch(...) on NPTL.
2009-01-06 23:06:25 +00:00
Andrew Johnson
2eb849b91c Fix segfault on linux - catch(...) must not call std::unexpected() 2008-10-08 22:44:32 +00:00
Andrew Johnson
f58002e1fd Exception classes don't need to derive from std::exception,
this can cause build faults on some architectures.
2008-10-07 15:19:35 +00:00
Andrew Johnson
ec8761185d Another fix, for the SunPro compiler this time. 2008-09-30 17:24:11 +00:00
Andrew Johnson
d3eb8170ff Fix for vxWorks 6.x - don't use std::min/max. 2008-09-30 15:29:57 +00:00
Jeff Hill
21e8912031 fixed conditional 2008-09-24 16:29:50 +00:00
Jeff Hill
7f96b9c0fc added try / catch block to epicsThread :: exoitWait () so that exception
specification isnt violated
2008-09-24 15:57:28 +00:00
Andrew Johnson
14ea2740d1 Oops. 2008-08-28 15:42:09 +00:00
Andrew Johnson
43f82a5c8c Ensure the main thread gets a unique ID. 2008-08-28 15:27:04 +00:00
Andrew Johnson
52b7171576 Moved testMain.h into libCom/misc, since db/test is built before libCom/test. 2006-11-10 22:43:04 +00:00
Jeff Hill
f01f981e54 standards unconformant C++ compilers (such as msvs 6.0) dont like
a std:: in front of the cal to unexpected()
2005-11-14 16:18:06 +00:00
W. Eric Norum
55ad29ffd2 Remove extraneous semicolon. New versions of gcc complain about it. 2005-07-06 21:39:41 +00:00
Jeff Hill
54a5a71377 fixed throw spec 2004-10-08 16:55:58 +00:00
Jeff Hill
7571947ceb o fixed "no exception thrown if epicsThreadCreate() return nill"
o added epicsThreadMustCreate
o cleaned up thread rundown blocking
o header file need not include exception support
2004-10-08 14:46:48 +00:00
Jeff Hill
361d617ede o fixed so that a thread that has not began will terminate if another thread
calls exit wait
o use independent event semaphore assisting these two threads to block
1) spawned thread
2) thread waiting for spawned thread to exit
2004-10-01 23:27:25 +00:00
Jeff Hill
23be13bd5b fixed cast 2004-09-30 19:14:23 +00:00
Jeff Hill
9f8e75b945 o print date when unexpected exception occurs
o call std::unexpected() when unexpected exception occurs
2004-09-29 17:39:17 +00:00
Marty Kraimer
8148784a20 exitWait ( double delay ) => exitWait (const double delay ) 2004-07-16 12:53:56 +00:00
Marty Kraimer
629b14d3d4 epicsThreadIsOkToBlock epicsThreadSetOkToBlock only for calling thread 2004-07-13 14:49:18 +00:00
Marty Kraimer
f54d1ca30a epicsThreadIsOkToBlock epicsThreadSetOkToBlock only for calling thread 2004-07-13 13:35:35 +00:00
Marty Kraimer
f2fc8f8838 ShellContext=>OkToBlock 2004-07-09 17:53:54 +00:00
Marty Kraimer
b97efc9f7d implement ShellContext 2004-07-09 16:05:53 +00:00
Jeff Hill
bb05cea3c1 fixed solaris warnings 2004-01-23 19:55:11 +00:00
Jeff Hill
6d5061781c fixed race condition at thread exit 2003-05-23 00:11:59 +00:00
Jeff Hill
55b51195f4 workaround for visual c++ 6.0 not compatible with c++ standards 2003-03-19 15:44:31 +00:00
Jeff Hill
fc543b5647 better message when a C++ exception terminates a C++ thread 2003-02-21 23:55:39 +00:00
Jeff Hill
f9a30fac96 fix sunpro and ms warning 2002-12-05 21:58:24 +00:00
Jeff Hill
f2ccfaf1de certain functions are nolonger inline 2002-10-23 22:19:28 +00:00
Janet B. Anderson
93b0bf478d Updated license comments. 2002-07-12 21:35:43 +00:00
Jeff Hill
9b5a9bf454 fixed no \n at end of message 2002-06-13 17:20:35 +00:00
Jeff Hill
c4c7ee7803 added exit and waitRelease capabilities to epicsThread class 2002-05-14 20:24:49 +00:00
Jeff Hill
e788adc650 fixed sun pro warning 2002-05-09 17:25:34 +00:00
Jeff Hill
ff05ad2dc3 reduced thread entry function scoppe to static 2002-05-08 23:14:46 +00:00
Jeff Hill
75ed067b7d allow derived class destructor to wait for thread exit 2002-04-19 18:03:48 +00:00
Jeff Hill
75b572be78 improved dll interface 2002-03-22 02:03:18 +00:00
Jeff Hill
94fa715e96 added const to show () vf 2001-02-15 21:09:52 +00:00
Marty Kraimer
e4641c3d3b add show method 2001-02-13 17:08:35 +00:00
Marty Kraimer
4a53d963b3 fix for solaris 2001-01-18 21:13:43 +00:00
Janet B. Anderson
d4a6bb29f4 extern "C" did not work for WIN32 2001-01-18 20:31:02 +00:00
Marty Kraimer
dbe9c8e75f changes for osiThread=>epicsThread 2001-01-18 19:08:14 +00:00