mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-05-14 02:30:28 +08:00
rtems-bsd-sx.c: Disable check for interruptible blocking until it is supported
This commit is contained in:
parent
df900d3a86
commit
8ddbc30f41
@ -194,7 +194,8 @@ _sx_xlock(struct sx *sx, int opts, const char *file, int line)
|
|||||||
{
|
{
|
||||||
rtems_status_code sc = RTEMS_SUCCESSFUL;
|
rtems_status_code sc = RTEMS_SUCCESSFUL;
|
||||||
|
|
||||||
BSD_ASSERT((opts & SX_INTERRUPTIBLE) == 0);
|
#warning "SX_INTERRUPTIBLE NOT SUPPORTED YET"
|
||||||
|
/* BSD_ASSERT((opts & SX_INTERRUPTIBLE) == 0); */
|
||||||
|
|
||||||
sc = rtems_semaphore_obtain( sx->lock_object.lo_id, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
|
sc = rtems_semaphore_obtain( sx->lock_object.lo_id, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
|
||||||
BSD_ASSERT_SC(sc);
|
BSD_ASSERT_SC(sc);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user