• Home
  • Raw
  • Download

Lines Matching +full:generate +full:- +full:lockfile

21  * SPDX-License-Identifier: curl
120 epoch_offset = time(NULL) - tv.tv_sec; in logmsg()
128 (int)now->tm_hour, (int)now->tm_min, (int)now->tm_sec, in logmsg()
177 logmsg("Error initialising winsock -- aborting"); in win32_init()
185 logmsg("No suitable winsock.dll found -- aborting"); in win32_init()
228 * -1 = system call error, or invalid timeout value
246 return -1; in wait_ms()
264 if(r != -1) in wait_ms()
269 pending_ms = timeout_ms - (int)timediff(tvnow(), initial_tv); in wait_ms()
272 } while(r == -1); in wait_ms()
275 r = -1; in wait_ms()
286 * - https://cygwin.com/git/?p=newlib-cygwin.git;a=commit; ↵ in our_getpid()
288 * - https://cygwin.com/git/?p=newlib-cygwin.git;a=commit; ↵ in our_getpid()
329 FILE *lockfile; in set_advisor_read_lock() local
334 lockfile = fopen(filename, "wb"); in set_advisor_read_lock()
335 } while(!lockfile && ((error = errno) == EINTR)); in set_advisor_read_lock()
336 if(!lockfile) { in set_advisor_read_lock()
343 res = fclose(lockfile); in set_advisor_read_lock()
403 ** could be the system start-up time, the Epoch, or something else, in tvnow()
416 ** run-time. When this occurs simply fallback to other time source. in tvnow()
461 timediff_t diff = newer.tv_sec-older.tv_sec; in timediff()
466 return (long)(newer.tv_sec-older.tv_sec)*1000+ in timediff()
467 (long)(newer.tv_usec-older.tv_usec)/1000; in timediff()
546 * interrupt occurs, Win32 operating systems generate a new thread
547 * to specifically handle that interrupt. This can cause a single-thread
554 * explicitly generate these signals by calling raise. Source:
555 * https://docs.microsoft.com/de-de/cpp/c-runtime-library/reference/signal
574 logmsg("ctrl_event_handler: %d -> %d", dwCtrlType, signum); in ctrl_event_handler()
598 logmsg("main_window_proc: %d -> %d", uMsg, signum); in main_window_proc()
623 return (DWORD)-1; in main_window_loop()
635 return (DWORD)-1; in main_window_loop()
640 if(ret == -1) { in main_window_loop()
642 return (DWORD)-1; in main_window_loop()
819 sau->sun_family = AF_UNIX; in bind_unix_socket()
820 strncpy(sau->sun_path, unix_socket, sizeof(sau->sun_path) - 1); in bind_unix_socket()