summaryrefslogtreecommitdiff
path: root/win32/time.c
Commit message (Collapse)AuthorAgeFilesLines
* Fixed possible precision loss in microtimeAnatol Belski2013-03-231-6/+13
| | | | | | This is related to the fix for bug #64370. MSVC natively supports __int64 type, so calculating with 32 bit ints is neither necessary nor reliable. Therefore an older piece of code is reused.
* Backported patch for #64370Anatol Belski2013-03-151-91/+42
|
* Remove unused codesXinchen Hui2012-06-071-10/+8
|
* based on microsoft's description,the direct convert from FILETIME struct to ↵slayercat2012-06-071-2/+12
| | | | | | | | | __int64 is unsafe. via http://technet.microsoft.com/en-us/library/ms724284(v=vs.85).aspx "Do not cast a pointer to a FILETIME structure to either a ULARGE_INTEGER* or __int64* value because it can cause alignment faults on 64-bit Windows."
* - Fixed bug #53297 (gettimeofday implementation in php/win32/time.c can returnGustavo André dos Santos Lopes2010-11-121-1/+1
| | | | | 1 million microsecs). (ped at 7gods dot org) - Moved line out of order in NEWS.
* - MFH:Pierre Joye2009-01-191-1/+12
| | | | | | | | - add nanosleep - expose nanosleep and usleep - [DOC] time_ nanosleep and time_ sleep_ until available on windows - change nanosleep signature to match posix one
* MFH:Kalle Sommer Nielsen2008-08-141-0/+2
| | | | | | * Last _WIN32_WINNT macro redef * Include <config.w32.h> where _WIN32_WINNT was
* MFH:Kalle Sommer Nielsen2008-08-131-4/+0
| | | | | | * Remove NTDDI_VERSION declaring and use the one in config.w32.h * Remove another _WIN32_WINNT macro redef in win32/time.c
* Misc. win32 thread safety fixes.Wez Furlong2004-07-291-30/+31
|
* make usleep actually work properlyWez Furlong2004-01-131-2/+2
|
* Fix build for new usleep implementation.Wez Furlong2003-11-291-1/+6
| | | | | | NB: we now depend on windows 98 and later; windows 95 does not have these timing functions.
* implement usleep for win32Wez Furlong2003-11-291-29/+9
|
* Allow dynamically compiled extensions to use gettimeofday() on win32.Edin Kadribasic2002-06-231-2/+2
|
* Fix for time.c under win32. Patch By: "Vanhanen, Reijo" ↵James Moore2001-02-041-27/+116
| | | | | | | <Reijo.Vanhanen@helsoft.fi> @- microtime under windows now returns accurate values (James)
* * fixed some #if/#ifdef issuesStig Bakken1999-06-161-1/+1
| | | | | | | | | | | | * hand-patched in php3 changes from 3.0.6 to HEAD in these files: fopen-wrappers.[ch] ext/standard/file.[ch] ext/standard/fsock.[ch] ext/standard/php3_string.h ext/standard/string.c * added some new file/socket macros for more readable code: FP_FGETS(buf,len,sock,fp,issock) FP_FREAD(buf,len,sock,fp,issock) FP_FEOF(sock,fp,issock) FP_FGETC(sock,fp,issock)
* A lot of cleanups... Removed old thread-safe code and other redundant code ↵Zeev Suraski1999-04-241-8/+7
| | | | and files
* Remove tls.[ch]Zeev Suraski1999-04-231-3/+1
|
* PHP 4.0Zeev Suraski1999-04-071-0/+156