summaryrefslogtreecommitdiff
path: root/win32/vmem.h
Commit message (Collapse)AuthorAgeFilesLines
* Correct typos as per GH 20435James E Keenan2022-12-291-1/+1
| | | | | | | | | | | | | | | | | | | In GH 20435 many typos in our C code were corrected. However, this pull request was not applied to blead and developed merge conflicts. I extracted diffs for the individual modified files and applied them with 'git apply', excepting four files where patch conflicts were reported. Those files were: handy.h locale.c regcomp.c toke.c We can handle these in a subsequent commit. Also, had to run these two programs to keep 'make test_porting' happy: $ ./perl -Ilib regen/uconfig_h.pl $ ./perl -Ilib regen/regcomp.pl regnodes.h
* win32/vmem.h - memory alignment needed for gcc-12sisyphus2022-07-071-0/+6
| | | | Add comment & refer to https://github.com/Perl/perl5/issues/19824
* win32/vmem.h - memory alignment needed for gcc-12sisyphus2022-07-071-0/+12
|
* style: Detabify indentation of the C code maintained by the core.Michael G. Schwern2021-01-171-394/+394
| | | | | | | | | | | This just detabifies to get rid of the mixed tab/space indentation. Applying consistent indentation and dealing with other tabs are another issue. Done with `expand -i`. * vutil.* left alone, it's part of version. * Left regen managed files alone for now.
* The Windows CE Chainsaw MassacreSteve Hay2019-06-181-2/+0
| | | | | Remove WinCE support as agreed in the thread starting here: https://www.nntp.perl.org/group/perl.perl5.porters/2018/07/msg251683.html
* Corrections to spelling and grammatical errors.Lajos Veres2015-01-281-2/+2
| | | | Extracted from patch submitted by Lajos Veres in RT #123693.
* remove unused dTHXes in /win32/*Daniel Dragan2012-11-081-2/+1
| | | | | | Remove dTHXes in win32 perl funcs where they were not used, or could be replaced with nocontext croaks/warns. Since Perl_get_context is a function it is not optimized away by the compiler.
* Minor tidy-ups from 624a1c42c1Steve Hay2012-10-101-19/+19
| | | | | Fix indents and update comments to reflect the fact that the compiler's msvcr*.dll is now used rather than loading msvcrt.dll too.
* clean up vmem.h, remove unused instrumentation hooksDaniel Dragan2012-10-101-41/+30
| | | | | | | | | | | | Removed virtual. Removed dyn loading msvcrt.dll and function pointers. Replaced with Compiler's native CRT's malloc. Moved the CS parts into _USE_LINKED_LIST blocks. There is nothing to protect if we aren't putting headers on. Faster startup time is the result of this commit. Before .text be8df .rdata 21171, after .text be88f .rdata 21121. I did turn off _USE_LINKED_LIST as an experiment, it compiled successfully and passed the /t/op/*.t tests (only ones I performed). I did not try the Knuth stuff. See also this msg by Jan Dubois https://rt.perl.org/rt3/Ticket/Display.html?id=88840#txn-1144384
* [perl #42648] [PATCH] crash in win32/VMem.h when out of memory Devin Heitmueller2007-04-241-0/+8
| | | | | | From: "Devin Heitmueller" (via RT) <perlbug-followup@perl.org> Message-ID: <rt-3.6.HEAD-30201-1177105747-239.42648-75-0@perl.org> p4raw-id: //depot/perl@31054
* Re: Segv from new regex code when under threads.Yves Orton2006-06-121-1/+2
| | | | | Message-ID: <9b18b3110606121017t3af81484t4fb13015fac74592@mail.gmail.com> p4raw-id: //depot/perl@28388
* RE: [PATCH-for-28089] wince yet another stepVadim Konovalov2006-05-041-1/+1
| | | | | | From: "Konovalov, Vadim Vladimirovich (Vadim)** CTR **" <vkonovalov@Lucent.com> Message-ID: <E3FB32585BF1D411B9E900805FF51A0801BCB454@ru0022exch001u.ru.lucent.com> p4raw-id: //depot/perl@28100
* Merge WinCE and Win32 directories -- Initial patchYves Orton2006-04-281-0/+2
| | | | | Message-ID: <9b18b3110604271430k4de84685jec6535ded195ed94@mail.gmail.com> p4raw-id: //depot/perl@28003
* typos and other minor thingsTodd C. Miller2003-03-111-1/+1
| | | | | | From: "Todd C. Miller" <Todd.Miller@courtesan.com> Message-Id: <200303110400.h2B40tEQ018838@xerxes.courtesan.com> p4raw-id: //depot/perl@18904
* Use PerlMemShared for CopSTASHPV and CopFILE. MUCH harder than it sounds!Nick Ing-Simmons2002-01-141-6/+8
| | | | | | | | | | | | Need to use CopXXXXX macros everywhere and add CopSTASH_free Add new scope type and add support for it to scope.c and scope stack dup-er in sv.c. Add savesharedpv(). Also zealous version of Win32's vmem.h to catch all the abuses. With this t/op/fork.t passes even with zealous checking and checker is point a finger at various threads/shared issues. PL_curcop->cop_io is still an issue. p4raw-id: //depot/perlio@14259
* Win32 fixes:Nick Ing-Simmons2002-01-131-1/+24
| | | | | | - vmem.h hack to handle free-by-wrong-thread after eval "". - Initialize timerid p4raw-id: //depot/perlio@14232
* support using the CRT's malloc() family of functions instead ofGurusamy Sarathy2002-01-111-133/+636
| | | | | | | | | | | the internal one when ithreads is enabled; allocate large blocks using VirtualAlloc() since the Heap*() functions may only be tuned for small allocations (from Doug Lankshear <dougl@ActiveState.com>) pass -D_USE_MSVCRT_MEM_ALLOC via cflags to enable the CRT's malloc(); also see comments at the top of win32/vmem.h for other options that can be set p4raw-id: //depot/perl@14175
* Sarathy thinks undoing C++ comments from C++ filesJarkko Hietaniemi2001-12-301-10/+10
| | | | | is a bit too zealous. p4raw-id: //depot/perl@13951
* from the non-ANSI comment police (was: it won't compile on win32) H.Merijn Brand2001-12-291-10/+10
| | | | | | | Message-Id: <20011229203646.24CF.H.M.BRAND@hccnet.nl> (NetWare tree not touched because it's very //) p4raw-id: //depot/perl@13939
* Integrate maintperl changes #12268 and #12669;Jarkko Hietaniemi2001-10-261-7/+16
| | | | | | | | | | | | | | | | | | | | | | | | final touches to the audit for statics and thread-unsafe code * make DB_File, ODBM_File thread-safe * remove unnecessary/dangerous statics and protect others from not getting accidentally enabled under threaded perls windows support functions get_childdir() et al aren't exported correctly under vanilla build Testing under win32 appreciated since changes there had to be manually merged and I cannot test how badly did I do. p4raw-link: @12268 on //depot/perlio: bb407f0b8769c638c05e60ebfd157a1e676a6c22 p4raw-id: //depot/perl@12678 p4raw-integrated: from //depot/maint-5.6/perl@12677 'copy in' win32/vmem.h (@5902..) 'merge in' ext/DB_File/DB_File.xs (@8693..) win32/win32iop.h (@8917..) ext/ODBM_File/ODBM_File.xs (@8995..) iperlsys.h (@9154..) scope.c (@9584..) makedef.pl (@11425..) gv.c (@12026..) op.c (@12145..) util.c (@12220..) toke.c (@12550..) ext/B/B.xs ext/File/Glob/Glob.xs ext/Opcode/Opcode.xs ext/re/re.xs (@12653..) mg.c win32/win32.c (@12668..)
* disable unused Windows code that won't run on Windows 95Gurusamy Sarathy2000-03-211-0/+8
| | | p4raw-id: //depot/perl@5850
* more complete pseudo-fork() support for WindowsGurusamy Sarathy1999-12-011-0/+703
p4raw-id: //depot/perl@4602