Skip to content

Commit

Permalink
single thread
Browse files Browse the repository at this point in the history
Based on 010fcbc

from @ccaughie
  • Loading branch information
jmillan committed Aug 7, 2019
1 parent 1c34f3d commit eab8fe5
Show file tree
Hide file tree
Showing 13 changed files with 435 additions and 19 deletions.
1 change: 1 addition & 0 deletions programs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ list(APPEND check_programs
http_client.c
http_client_upcall.c
rtcweb.c
st_client.c
test_libmgmt.c
test_timer.c
tsctp.c
Expand Down
8 changes: 6 additions & 2 deletions programs/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ EXTRA_DIST = \
ekr_peer.c \
test_libmgmt.c \
http_client.c \
http_client_upcall.c
http_client_upcall.c \
st_client.c

noinst_PROGRAMS = \
test_libmgmt \
Expand All @@ -76,7 +77,8 @@ noinst_PROGRAMS = \
ekr_peer \
test_libmgmt \
http_client \
http_client_upcall
http_client_upcall \
st_client

test_libmgmt_SOURCES = programs_helper.c test_libmgmt.c
test_libmgmt_LDADD = ../usrsctplib/libusrsctp.la
Expand Down Expand Up @@ -120,3 +122,5 @@ http_client_SOURCES = programs_helper.c http_client.c
http_client_LDADD = ../usrsctplib/libusrsctp.la
http_client_upcall_SOURCES = programs_helper.c http_client_upcall.c
http_client_upcall_LDADD = ../usrsctplib/libusrsctp.la
st_client_SOURCES = programs_helper.c st_client.c
st_client_LDADD = ../usrsctplib/libusrsctp.la
9 changes: 8 additions & 1 deletion programs/Makefile.nmake
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ all: \
ekr_loop_upcall \
test_libmgmt \
http_client \
http_client_upcall
http_client_upcall \
st_client

programs_helper.obj : programs_helper.c programs_helper.h
cl $(CVARSDLL) $(CFLAGS) -c programs_helper.c
Expand Down Expand Up @@ -138,6 +139,10 @@ http_client_upcall:
$(CC) $(CFLAGS) $(CVARSDLL) -c http_client_upcall.c
link -out:http_client_upcall.exe http_client_upcall.obj programs_helper.obj $(LINKFLAGS)

st_client:
$(CC) $(CFLAGS) $(CVARSDLL) -c st_client.c
link -out:st_client.exe st_client.obj programs_helper.obj $(LINKFLAGS)

clean:
del /F client.exe
del /F client.obj
Expand Down Expand Up @@ -177,3 +182,5 @@ clean:
del /F http_client.obj
del /F http_client_upcall.exe
del /F http_client_upcall.obj
del /F st_client.exe
del /F st_client.obj
Loading

0 comments on commit eab8fe5

Please sign in to comment.