Lines Matching +full:generate +full:- +full:lockfile
8 * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
118 epoch_offset = time(NULL) - tv.tv_sec; in logmsg()
126 (int)now->tm_hour, (int)now->tm_min, (int)now->tm_sec, in logmsg()
176 logmsg("Error initialising winsock -- aborting"); in win32_init()
184 logmsg("No suitable winsock.dll found -- aborting"); in win32_init()
221 * -1 = system call error, or invalid timeout value
239 return -1; in wait_ms()
257 if(r != -1) in wait_ms()
262 pending_ms = timeout_ms - (int)timediff(tvnow(), initial_tv); in wait_ms()
265 } while(r == -1); in wait_ms()
268 r = -1; in wait_ms()
285 * - https://cygwin.com/git/?p=newlib-cygwin.git;a=commit; ↵ in write_pidfile()
287 * - https://cygwin.com/git/?p=newlib-cygwin.git;a=commit; ↵ in write_pidfile()
314 FILE *lockfile; in set_advisor_read_lock() local
319 lockfile = fopen(filename, "wb"); in set_advisor_read_lock()
320 } while((lockfile == NULL) && ((error = errno) == EINTR)); in set_advisor_read_lock()
321 if(lockfile == NULL) { in set_advisor_read_lock()
328 res = fclose(lockfile); in set_advisor_read_lock()
361 return (char)('A' + in - 'a'); in raw_toupper()
428 max--; in strncasecompare()
471 ** could be the system start-up time, the Epoch, or something else, in tvnow()
484 ** run-time. When this occurs simply fallback to other time source. in tvnow()
529 timediff_t diff = newer.tv_sec-older.tv_sec; in timediff()
534 return (long)(newer.tv_sec-older.tv_sec)*1000+ in timediff()
535 (long)(newer.tv_usec-older.tv_usec)/1000; in timediff()
538 /* do-nothing macro replacement for systems which lack siginterrupt() */
616 * interrupt occurs, Win32 operating systems generate a new thread
617 * to specifically handle that interrupt. This can cause a single-thread
624 * explicitly generate these signals by calling raise. Source:
625 * https://docs.microsoft.com/de-de/cpp/c-runtime-library/reference/signal
644 logmsg("ctrl_event_handler: %d -> %d", dwCtrlType, signum); in ctrl_event_handler()
668 logmsg("main_window_proc: %d -> %d", uMsg, signum); in main_window_proc()
688 return (DWORD)-1; in main_window_loop()
700 return (DWORD)-1; in main_window_loop()
705 if(ret == -1) { in main_window_loop()
707 return (DWORD)-1; in main_window_loop()