summaryrefslogtreecommitdiff
path: root/src/err.cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2012-04-05 10:41:47 +0200
committerMartin Sustrik <sustrik@250bpm.com>2012-04-06 12:56:24 +0200
commita5fefa3d5ba405deedba689b056959358048d935 (patch)
tree219d2936e57003c785aa1bf8f57b5be294823fe0 /src/err.cpp
parent494d4d36237f37c455f6689fca280ed75498403a (diff)
EMTHREAD error code removed
libxs (as opposed to libzmq) requires at least one I/O thread per context. Thus, "no I/O thread available" error doesn't make sense anyome. This patch removes the code and the documentation. It keeps the definition of EMTHREAD itself for backward compatibility. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/err.cpp')
-rw-r--r--src/err.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/err.cpp b/src/err.cpp
index f05cf06..f9549ff 100644
--- a/src/err.cpp
+++ b/src/err.cpp
@@ -49,8 +49,6 @@ const char *xs::errno_to_string (int errno_)
return "The protocol is not compatible with the socket type";
case ETERM:
return "Context was terminated";
- case EMTHREAD:
- return "No thread available";
default:
#if defined _MSC_VER
#pragma warning (push)