From 4a792414fbc28e81a4742cb916c0f8cfe2c4b6cf Mon Sep 17 00:00:00 2001 From: Pixel Date: Fri, 14 Oct 2011 00:48:01 -0700 Subject: Actually removing the asserts now. --- src/Input.cc | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src') diff --git a/src/Input.cc b/src/Input.cc index c812304..94cfe8f 100644 --- a/src/Input.cc +++ b/src/Input.cc @@ -53,7 +53,6 @@ Balau::Input::Input(const char * fname) throw (GeneralException) : m_fd(-1), m_s eio_req * r = eio_open(fname, O_RDONLY, 0, 0, eioDone, &cbResults); Assert(r != 0); Task::yield(&cbResults.evt); - Assert(cbResults.evt.gotSignal()); if (cbResults.result < 0) { char str[4096]; if (cbResults.errorno == ENOENT) { @@ -69,7 +68,6 @@ Balau::Input::Input(const char * fname) throw (GeneralException) : m_fd(-1), m_s r = eio_fstat(m_fd, 0, eioStatsDone, &cbStatsResults); Assert(r != 0); Task::yield(&cbStatsResults.evt); - Assert(cbStatsResults.evt.gotSignal()); if (cbStatsResults.result == 0) { m_size = cbStatsResults.statdata.st_size; m_mtime = cbStatsResults.statdata.st_mtime; @@ -84,7 +82,6 @@ void Balau::Input::close() throw (GeneralException) { Assert(r != 0); m_fd = -1; Task::yield(&cbResults.evt); - Assert(cbResults.evt.gotSignal()); if (cbResults.result < 0) { char str[4096]; strerror_r(cbResults.errorno, str, sizeof(str)); @@ -99,7 +96,6 @@ ssize_t Balau::Input::read(void * buf, size_t count) throw (GeneralException) { eio_req * r = eio_read(m_fd, buf, count, getROffset(), 0, eioDone, &cbResults); Assert(r != 0); Task::yield(&cbResults.evt); - Assert(cbResults.evt.gotSignal()); if (cbResults.result > 0) { rseek(cbResults.result, SEEK_CUR); } else { -- cgit v1.2.3