[debugger enhance] don't block gdbserver thread while executing (#989)
Allow to set break point again when all break points are removed and wasm app starts running.
This commit is contained in:
@ -226,6 +226,17 @@ os_socket_create(bh_socket_t *sock, int tcp_or_udp);
|
||||
int
|
||||
os_socket_bind(bh_socket_t socket, const char *addr, int *port);
|
||||
|
||||
/**
|
||||
* Set timeout for the given socket
|
||||
*
|
||||
* @param socket the socket to set timeout
|
||||
* @param timeout_us timeout in microseconds
|
||||
*
|
||||
* @return 0 if success, -1 otherwise
|
||||
*/
|
||||
int
|
||||
os_socket_settimeout(bh_socket_t socket, uint64 timeout_us);
|
||||
|
||||
/**
|
||||
* Make the socket as a passive socket to accept incoming connection requests
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user