From a5fefa3d5ba405deedba689b056959358048d935 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Thu, 5 Apr 2012 10:41:47 +0200 Subject: 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 --- include/xs.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/xs.h b/include/xs.h index 6f0004c..e44587e 100644 --- a/include/xs.h +++ b/include/xs.h @@ -111,7 +111,8 @@ XS_EXPORT void xs_version (int *major, int *minor, int *patch); #define EFSM (XS_HAUSNUMERO + 51) #define ENOCOMPATPROTO (XS_HAUSNUMERO + 52) #define ETERM (XS_HAUSNUMERO + 53) -#define EMTHREAD (XS_HAUSNUMERO + 54) +#define EMTHREAD (XS_HAUSNUMERO + 54) /* Kept for backward compatibility. */ + /* Not used anymore. */ /* This function retrieves the errno as it is known to Crossroads library. */ /* The goal of this function is to make the code 100% portable, including */ -- cgit v1.2.3