wangzhengquan
2020-07-27 df9ea12ea1b0811ef3537a4ecd04cc881348214f
test_socket/dgram_mod_bus.c
@@ -2,19 +2,9 @@
#include "shm_mm.h"
#include "usg_common.h"
#include "mm.h"
void sigint_handler(int sig) {
  printf("sigint_handler\n");
  hashtable_t *hashtable = mm_get_hashtable();
  //hashtable_remove(hashtable, 8);
  // dgram_mod_close_socket(server_socket);
  //SHMQueue<ELEM_T>::remove_queues_include
  exit(0);
}
void server(int port, bool restart) {
  //signal(SIGINT,  sigint_handler);
  void * server_socket = dgram_mod_open_socket();
  if(restart) {