Subject: |
Re: [Merge] ~epics-core/epics-base/+git/Com:thread-join into epics-base:7.0 |
From: |
Andrew Johnson via Core-talk <[email protected]> |
To: |
mdavidsaver <[email protected]> |
Date: |
Wed, 19 Jun 2019 16:45:58 -0000 |
taskWait( )
NAME
taskWait( ) - wait for task to terminate
SYNOPSIS
STATUS taskWait
(
TASK_ID tid, /* task id */
_Vx_ticks_t timeout /* timeout */
)
DESCRIPTION
This routine will wait/pend until a task has been terminated.
WARNING
This routine may not be used from interrupt level
SMP CONSIDERATIONS
This API is spinlock and intCpuLock restricted. These restrictions are not enforced by the implementation so it is the responsibility of the caller to ensure they are complied with. Future implementations may enforce these restrictions.
RETURNS
OK when timeout or done waiting for task to be destroyed, ERROR on
failure
ERRNO
S_intLib_NOT_ISR_CALLABLE
Routine is not callable from an ISR.
S_taskLib_ILLEGAL_OPERATION
Cannot wait on self
S_objLib_OBJ_ID_ERROR
Invalid task ID
I think it may also set errno to one of these (NO_WAIT is a macro used for 0 ticks, WAIT_FOREVER is its counterpart):
S_objLib_OBJ_TIMEOUT
Timeout occured while pending on sempahore.
S_objLib_OBJ_UNAVAILABLE
Would have blocked but NO_WAIT was specified.
--
https://code.launchpad.net/~epics-core/epics-base/+git/Com/+merge/361379
Your team EPICS Core Developers is subscribed to branch epics-base:7.0.
- Navigate by Date:
- Prev:
Re: IOC Threads blocking all signals Johnson, Andrew N. via Core-talk
- Next:
Re: [Merge] ~epics-core/epics-base/+git/Com:thread-join into epics-base:7.0 mdavidsaver via Core-talk
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
<2019>
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: [Merge] ~epics-core/epics-base/+git/Com:thread-join into epics-base:7.0 mdavidsaver via Core-talk
- Next:
Re: [Merge] ~epics-core/epics-base/+git/Com:thread-join into epics-base:7.0 mdavidsaver via Core-talk
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
<2019>
2020
2021
2022
2023
2024
|