Thread termination code is updated.
authorSung-jae Park <nicesj.park@samsung.com>
Tue, 4 Jun 2013 07:09:03 +0000 (16:09 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Tue, 4 Jun 2013 07:26:54 +0000 (16:26 +0900)
commit3d8c2544ca5a011512715bef9c949bab4db9d5ec
tree8c31570e8f5fb35b02db2c70c4274c9ebf6e3fb2
parentd63b265efab6cbc4b14a507cda98b00079da0926
Thread termination code is updated.

[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] N/A
[problem] Thread is not terminated. so the process hangs while waiting thread termination.
[cause] If a main thread close the fd, service thread can not detect it.
[solution] Add ctrl-pipe to terminate the service thread. (to wakeup it from select)
[team] HomeTF
[request]
[horizontal_expansion]

Change-Id: I9d253eefa1b5c3206046cfff1f16ae89798a94fa
include/util.h
packaging/libcom-core.spec
src/com-core_packet-router.c
src/com-core_thread.c
src/secure_socket.c