Experimental Physics and
| |||||||||||||||
|
Hi Ralph, Thanks for explanation. One more question. after completion of task how to delete Thread in EPICS (epicsThread), or it is not required in EPICS? WR -Vikram From: Ralph Lange <[email protected]> To: EPICS Tech-Talk <[email protected]> Sent: Thursday, September 19, 2013 11:21 AM Subject: Re: threading in asyn device support On 19.09.2013 10:57, Vikram Bhagat
wrote:
Hi Vikram, The epicsThread API is part of the OSI layer, which adds a common EPICS API to operating system services. (E.g., threads, timers, semaphores, ...) This ensures portability of code across all systems and architectures supported by EPICS. For things in the OSI layer, there is usually a POSIX implementation, which is used on POSIX compliant platforms. In many cases vxWorks, RTEMS, or Windows use a different implementation for the same feature. So: If you use epicsThread, your code will run on all EPICS systems. If you use pthread, your code will only run on POSIX compliant systems. Please use the OSI APIs whenever possible, to allow as many people as possible to use your code. HTH, ~Ralph
| ||||||||||||||
ANJ, 20 Apr 2015 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |