Commit Graph

3682 Commits

Author SHA1 Message Date
d7a27d4a84 fixed a minor flaw in a sample program 2018-07-01 14:17:54 +00:00
029407b685 fixed the typo - E_NOERR to E_ENOMEM 2018-07-01 14:09:18 +00:00
0d675358aa set error code in setWorkerHandler 2018-07-01 14:08:20 +00:00
d4444400f7 deleted an unneeded line 2018-07-01 14:04:07 +00:00
797518df18 rename QSE::TcpServer::Client to QSE::TcpServer::Worker.
added code to generate unique worker id
2018-07-01 13:57:37 +00:00
3d5d9aebfb migrated Mutex to Mutex.hpp 2018-07-01 12:43:56 +00:00
0cbdf10332 added Mutex.
added QSE_CPP_THREXCEPT1() and similar macros
changed the termination code of TcpServer
2018-07-01 11:21:00 +00:00
1a102644ed prevented HeapMmgr::allocMem() and HeapMmgr::reallocMem() from thrown an exception 2018-07-01 07:59:06 +00:00
9ff9cb1d55 fixed the wrong call to QSE_CPP_CALL_DESTRUCTOR to QSE_CPP_DELETE_WITH_MMGR 2018-07-01 07:37:01 +00:00
9cbd6cd7fe fixed the code to call the destructor when dispoing an object with mmgr 2018-07-01 07:33:56 +00:00
87e0cf1b40 initialized client_list in TcpServer with mmgr 2018-07-01 04:18:23 +00:00
c4e66a102a fixed part of code left out in the previous commit 2018-07-01 02:20:03 +00:00
27039d9693 got TcpServer and Thread to inherit Mmged 2018-07-01 02:11:33 +00:00
1d12ec3e3f changed configure.ac to test __int128_t in va_arg 2018-06-29 16:48:20 +00:00
51f61a31b6 on netbsd, the accepted socket inherited O_NONBLOCK if the accepting socket has it. i made changes to prevent this 2018-06-29 04:53:28 +00:00
8ce9ff41a0 enhanced qse_mux_poll() to accept QSE_NULL for timeout to wait indefinitely
made TcpServer more robust
2018-06-28 14:07:35 +00:00
20e042df0c work in progress to replace epoll with qse_mux_t 2018-06-28 09:43:34 +00:00
40cdf684de switched to use a spin lock on behalf of a mutex 2018-06-28 04:08:43 +00:00
6519b1e4db added SocketAddress::toStrBuf().
protected client socket closure with mutex
2018-06-27 11:18:20 +00:00
afe36ac593 finished QSE::TcpServerL 2018-06-27 08:53:51 +00:00
19df0af32a fixed TcpServer to close pipes properly upon termination 2018-06-26 15:45:44 +00:00
b2f9abef77 fixed quite a few issues in TcpServer 2018-06-26 15:27:52 +00:00
d7bdc63690 adding multiple listeners into TcpServer 2018-06-26 14:43:43 +00:00
eb2755fa6b interim update while working TcpServer 2018-06-26 09:28:12 +00:00
d6b9e78114 removed the bundled libltdl 2018-06-26 08:30:02 +00:00
a51e54bda6 TcpServer now compilable at least 2018-06-25 15:52:05 +00:00
26bf5f1a6e fixed a wrong prototype name qse_sio_getmc() to qse_sio_getmb() 2018-06-25 13:35:25 +00:00
bdf1ab2234 reverted unwanted changes 2018-06-25 10:51:24 +00:00
26e27e78cd work in progress. adding TcpServer 2018-06-25 10:47:27 +00:00
70c787de9f removed special handling of $ in qse_strsubst() as literal $ can be denoted by 11789 2018-04-03 09:33:50 +00:00
5c297d784a fixed some issues in socket address conversion 2018-03-25 03:05:12 +00:00
598f4f0457 included more header files in nwad-skad.c 2018-03-07 13:26:21 +00:00
9d87420bf6 added Socket::sendx() functions
added SocketAddress::set() that accepts a string
fixed a bug in nwad-skad.c
2018-03-07 09:18:36 +00:00
3613919dc1 reverted the kt workaround 2018-02-22 17:22:50 +00:00
3cbde90f70 raised the version number to 0.8.0 2018-02-09 10:38:12 +00:00
1e473ed089 fixed the gnuc condition for visibility attribute 2018-02-01 13:13:58 +00:00
46cd39cabb changed configure.ac to check the offset of sa_family in struct sockaddr 2018-02-01 09:34:12 +00:00
b7e540d6cf added some more code to spl.h 2018-01-31 14:50:40 +00:00
be51ae8e61 added spl.h
changed SpinLock.hpp to use spl.h
2018-01-31 10:34:38 +00:00
4eff683036 added noexcept specifier to functions in SpinLock.hpp 2018-01-30 08:43:15 +00:00
d0bb9ae911 added some checks for compiler builtins.
enhanced SpinLock code
2018-01-30 08:33:45 +00:00
3a9e278f0b added --enable-wchar-prefer-char16 2018-01-30 04:17:26 +00:00
2fbfe3a71b changed to prefer char16_t with c11 compiler. yet to add --prefer-char16 option to configure.ac 2018-01-29 15:38:32 +00:00
11d1344b70 added an experimental SpinLock class 2018-01-29 10:21:54 +00:00
ab98ce632e removed a redundant work from Thread.hpp 2018-01-29 09:29:46 +00:00
2a1cda7981 added QSE::ThreadL 2018-01-29 09:25:47 +00:00
8e78356337 renamed ThreadC to ThreadF 2018-01-29 05:02:51 +00:00
57201a2af3 added a move contructor to ThreadC 2018-01-29 05:01:47 +00:00
c274cc0fb4 checked O_CLOEXEC availibility 2018-01-28 05:17:42 +00:00
4243665288 removed an unused variable in htl.c 2018-01-28 04:58:56 +00:00