ws.c 290 B

123456789101112131415161718192021222324252627282930313233
  1. #include "ws.h"
  2. #include "thread.h"
  3. #include "mongoose.h"
  4. static void *ws_thread(void *arg)
  5. {
  6. thread_handle_t *th=(thread_handle_t*)arg;
  7. while(th->quit==0) {
  8. //msleep(100);
  9. }
  10. pthread_exit(NULL);
  11. }
  12. int ws_init(void)
  13. {
  14. return 0;
  15. }