CodeChix-OpenSource/OFconnect — pull request #82 by deepadhurka (2014-12-12 03:35:57+00:00)
Title: Improve readability

Added lots of documentation - function headers, file headers
Renamed many functions to indicate whether safe or lockfree.
Re-arranged header files for better maintainability and readability

Unit tests pass.

Unit test report:
TEST: /home/libccof/deepa-git/OFconnect/tests/pollthr_test.exe... (pid=22879)
/pollthread/tc_1: OK
/pollthread/tc_2: OK
/pollthread/tc_3: OK
/pollthread/tc_4: OK
/pollthread/tc_5: OK
PASS: /home/libccof/deepa-git/OFconnect/tests/pollthr_test.exe
gcc /home/libccof/deepa-git/OFconnect/obj/cc_log.o /home/libccof/deepa-git/OFconnect/obj/cc_of_lib.o /home/libccof/deepa-git/OFconnect/obj/cc_of_util.o /home/libccof/deepa-git/OFconnect/obj/cc_pollthr_mgr.o /home/libccof/deepa-git/OFconnect/obj/cc_tcp_conn.o /home/libccof/deepa-git/OFconnect/obj/cc_udp_conn.o /home/libccof/deepa-git/OFconnect/tests/util_test.o -o /home/libccof/deepa-git/OFconnect/tests/util_test.exe -lglib-2.0
gtester
gtester --verbose -o=/home/libccof/deepa-git/OFconnect/tests/log-util_test.xml -k /home/libccof/deepa-git/OFconnect/tests/util_test.exe
TEST: /home/libccof/deepa-git/OFconnect/tests/util_test.exe... (pid=22910)
/util/tc_1: OK
/util/tc_2: OK
PASS: /home/libccof/deepa-git/OFconnect/tests/util_test.exe
gtester
sed "\|| i \
\
TEST PACKAGE\
0\
1\
\
" --in-place='' /home/libccof/deepa-git/OFconnect/tests/log-pollthr_test.xml
gtester-report /home/libccof/deepa-git/OFconnect/tests/log-pollthr_test.xml > /home/libccof/deepa-git/OFconnect/tests/log-pollthr_test.html
gtester
sed "\|| i \
\
TEST PACKAGE\
0\
1\
\
" --in-place='' /home/libccof/deepa-git/OFconnect/tests/log-util_test.xml
gtester-report /home/libccof/deepa-git/OFconnect/tests/log-util_test.xml > /home/libccof/deepa-git/OFconnect/tests/log-util_test.html