File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
TESTS/netsocket/socket_sigio Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ void prep_buffer() {
105
105
void test_socket_attach () {
106
106
// Dispatch event queue
107
107
Thread eventThread;
108
- EventQueue queue;
108
+ EventQueue queue ( 4 *EVENTS_EVENT_SIZE) ;
109
109
eventThread.start (callback (&queue, &EventQueue::dispatch_forever));
110
110
111
111
printf (" TCP client IP Address is %s\r\n " , net->get_ip_address ());
@@ -139,7 +139,7 @@ void cb_pass() {
139
139
void test_socket_detach () {
140
140
// Dispatch event queue
141
141
Thread eventThread;
142
- EventQueue queue;
142
+ EventQueue queue ( 4 *EVENTS_EVENT_SIZE) ;
143
143
eventThread.start (callback (&queue, &EventQueue::dispatch_forever));
144
144
145
145
printf (" TCP client IP Address is %s\r\n " , net->get_ip_address ());
@@ -166,7 +166,7 @@ void test_socket_detach() {
166
166
void test_socket_reattach () {
167
167
// Dispatch event queue
168
168
Thread eventThread;
169
- EventQueue queue;
169
+ EventQueue queue ( 4 *EVENTS_EVENT_SIZE) ;
170
170
eventThread.start (callback (&queue, &EventQueue::dispatch_forever));
171
171
172
172
printf (" TCP client IP Address is %s\r\n " , net->get_ip_address ());
You can’t perform that action at this time.
0 commit comments