[rtems-libbsd commit] rtems-bsd-sx.c: Disable check for interruptible blocking until it is supported

Joel Sherrill joel at rtems.org
Tue Oct 23 19:17:27 UTC 2012


Module:    rtems-libbsd
Branch:    master
Commit:    8ddbc30f4156d870f005387faac1676aaaeca33c
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=8ddbc30f4156d870f005387faac1676aaaeca33c

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Tue Oct 23 14:21:34 2012 -0500

rtems-bsd-sx.c: Disable check for interruptible blocking until it is supported

---

 rtemsbsd/src/rtems-bsd-sx.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/rtemsbsd/src/rtems-bsd-sx.c b/rtemsbsd/src/rtems-bsd-sx.c
index 940a5af..2b422ca 100644
--- a/rtemsbsd/src/rtems-bsd-sx.c
+++ b/rtemsbsd/src/rtems-bsd-sx.c
@@ -194,7 +194,8 @@ _sx_xlock(struct sx *sx, int opts, const char *file, int line)
 {
 	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);
 	BSD_ASSERT_SC(sc);




More information about the vc mailing list