summaryrefslogtreecommitdiffstats
path: root/Modules/timemodule.c
Commit message (Collapse)AuthorAgeFilesLines
...
* * Configure.py: use #!/usr/local/bin/pythonGuido van Rossum1993-01-041-1/+17
| | | | | | | | | | | * posixmodule.c: move extern function declarations to top * listobject.c: cmp() arguments must be void* if __STDC__ * Makefile, allobjects.h, panelmodule.c, modsupport.c: get rid of strdup() -- it is a portability risk * Makefile: enclosed ranlib command in parentheses for Sequent Make which aborts if the command is not found even if '-' is present * timemodule.c: time() returns a floating point number, in microsecond precision if BSD_TIME is defined.
* * macmodule.c: include allobjects.h, not .cGuido van Rossum1992-08-141-0/+4
| | | | | | * timemodule.c: the mac has no unistd.h * classobject.c: fixed several cases of return NULL that should be return -1 !!!
* * Makefile: cosmeticsGuido van Rossum1992-08-051-16/+26
| | | | | | | | | | | | | | | | | | | | | | | | | * socketmodule.c: get rid of makepair(); fix makesocketaddr to fix broken recvfrom() * socketmodule: get rid of getStrarg() * ceval.h: move eval_code() to new file eval.h, so compile.h is no longer needed. * ceval.c: move thread comments to ceval.h; always make save/restore thread functions available (for dynloaded modules) * cdmodule.c, listobject.c: don't include compile.h * flmodule.c: include ceval.h * import.c: include eval.h instead of ceval.h * cgen.py: add forground(); noport(); winopen(""); to initgl(). * bltinmodule.c, socketmodule.c, fileobject.c, posixmodule.c, selectmodule.c: adapt to threads (add BGN/END SAVE macros) * stdwinmodule.c: adapt to threads and use a special stdwin lock. * pythonmain.c: don't include getpythonpath(). * pythonrun.c: use BGN/END SAVE instead of direct calls; also more BGN/END SAVE calls etc. * thread.c: bigger stack size for sun; change exit() to _exit() * threadmodule.c: use BGN/END SAVE macros where possible * timemodule.c: adapt better to threads; use BGN/END SAVE; add longsleep internal function if BSD_TIME; cosmetics
* * Makefile adapted to changes below.Guido van Rossum1992-08-041-0/+8
| | | | | | | | | | | * split pythonmain.c in two: most stuff goes to pythonrun.c, in the library. * new optional built-in threadmodule.c, build upon Sjoerd's thread.{c,h}. * new module from Sjoerd: mmmodule.c (dynamically loaded). * new module from Sjoerd: sv (svgen.py, svmodule.c.proto). * new files thread.{c,h} (from Sjoerd). * new xxmodule.c (example only). * myselect.h: bzero -> memset * select.c: bzero -> memset; removed global variable
* Changes for new UNIX-specific built-in module 'select' and new header forGuido van Rossum1992-06-231-12/+1
| | | | | interfaces to variants of select() system call, "myselect.h". This includes adding fileno() methods to files, sockets and stdwin.
* Fix for SEQUENT by Jaap VermeulenGuido van Rossum1992-06-121-0/+8
|
* Don't define DO_TIMES (now in posixmodule.c)Guido van Rossum1992-04-051-9/+1
|
* Initialized sigsave to shut lint upGuido van Rossum1992-03-271-2/+9
|
* Add interface to times(2).Guido van Rossum1992-03-121-0/+49
|
* AIX fix.Guido van Rossum1991-11-271-1/+1
|
* All mac compilers now use 1904 as the Epoch...Guido van Rossum1991-07-271-6/+4
|
* Generalize to macintosh; forget Think 3.0.Guido van Rossum1991-06-241-8/+9
|
* Include sys/select.h for IBM R2Guido van Rossum1991-05-051-0/+5
|
* New hacks for include files to get time_t in the most portable way.Guido van Rossum1991-04-161-10/+54
| | | | | Added Turbo C milli functions (courtesy Mark Anacker) Disable THINK C sleep for 4.0
* Hack for THINK C time function.Guido van Rossum1991-04-041-5/+11
| | | | Made more functions externally visible.
* Made millitimer() and millisleep() global (what the heck...).Guido van Rossum1991-04-031-2/+1
|
* Added copyright notice.Guido van Rossum1991-02-191-0/+24
|
* Added BSD implementations of millisleep.Guido van Rossum1991-02-191-0/+34
|
* "Compiling" versionGuido van Rossum1990-12-201-13/+6
|
* Initial revisionGuido van Rossum1990-10-141-0/+178