summaryrefslogtreecommitdiff
path: root/win32/win32thread.h
Commit message (Collapse)AuthorAgeFilesLines
* style: Detabify indentation of the C code maintained by the core.Michael G. Schwern2021-01-171-49/+49
| | | | | | | | | | | 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.
* Remove the final remnants of 5005threads supportDagfinn Ilmari Mannsåker2020-07-201-6/+0
| | | | Only THREAD_RET_TYPE is still used.
* The Borland Chainsaw MassacreSteve Hay2011-09-101-10/+5
| | | | | Remove support for the Borland C++ compiler on Win32, as agreed here: http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2011-09/msg00034.html
* Re: Merge WinCE into Win32 directory and remove the the WinCE directoryYves Orton2006-05-021-1/+1
| | | | | | | | Message-ID: <9b18b3110605011002m56c0db99n169ae677efb6d059@mail.gmail.com> Plus adjustements to MANIFEST. Also, perlmain.c seemed to be missing from the patch. p4raw-id: //depot/perl@28061
* Happy chainsaw stories; The removal of the 5005 threadsH.Merijn Brand2002-10-191-10/+0
| | | | | Still imcomplete. Configure will follow p4raw-id: //depot/perl@18030
* Changes USE_THREADS to USE_5005THREADS in the entire source.Artur Bergman2001-08-271-2/+2
| | | | | | Thanks to H. Merijn Brand for the patch. Some of the comments and or guards might be removable in perl.h now. p4raw-id: //depot/perl@11758
* perl built with USE_ITHREADS can deadlock during fork() or backticksGurusamy Sarathy2001-07-051-0/+2
| | | | | | | | | | | | | since it doesn't ensure threads other than the one calling fork() aren't holding any locks; the fix is to use pthread_atfork() to hold global locks building perl with -Dusemymalloc exacerbates the problem since Perl_malloc() holds a mutex, and perl's exec() calls New() XXX the code in win32thread.h may be needed on platforms that have no pthread_atfork() p4raw-id: //depot/perl@11151
* PERL_IMPLICIT_SYS compiles but does not work.Nick Ing-Simmons2000-12-031-1/+1
| | | p4raw-id: //depot/perlio@7970
* free TLS slot properly on WindowsGurusamy Sarathy2000-08-211-0/+5
| | | p4raw-id: //depot/perl@6748
* avoid using context pointer in MUTEX_INIT() et al; remove theGurusamy Sarathy2000-03-111-25/+11
| | | | | *_NOCONTEXT variants to keep it simple p4raw-id: //depot/perl@5651
* various shenanigans in change#5342Gurusamy Sarathy2000-02-291-4/+4
| | | | | p4raw-link: @5342 on //depot/perl: ba869debd80c55cfae8e9d4de0991d62f9efcb9b p4raw-id: //depot/perl@5343
* support fetching current interpreter from TLS under useithreadsGurusamy Sarathy2000-02-291-19/+31
| | | p4raw-id: //depot/perl@5342
* more complete pseudo-fork() support for WindowsGurusamy Sarathy1999-12-011-3/+2
| | | p4raw-id: //depot/perl@4602
* win32 build fixesGurusamy Sarathy1999-06-101-12/+28
| | | p4raw-id: //depot/perl@3525
* remove _() non-ansismGurusamy Sarathy1999-06-021-6/+6
| | | p4raw-id: //depot/perl@3518
* [win32] fix handle leak in join()Gurusamy Sarathy1998-02-201-2/+4
| | | p4raw-id: //depot/win32/perl@566
* [win32] Various win32 fixesGurusamy Sarathy1998-01-041-2/+43
| | | | | | | | | | | | | | | - support spawn via system(&P_NOWAIT,...) like OS2 - support wait() and waitpid() - s/GetCurrentDirectory/GetCwd/, long-named XS to be removed - support -lfoo properly in ExtUtils::Liblist - fix outdated info about Win32 support in perlfaq2 - fix win32 bug in perldoc that causes spurious warnings - regularize global function/variable names yet more - fix bug in do_aspawn() (it was always invoking shell, instead of almost never) - implement and export win32_wait() - stub version of USE_RTL_THREAD_API p4raw-id: //depot/win32/perl@391
* Avoid __declspec(thread) by default, for both scratchNick Ing-Simmons1997-11-291-0/+1
| | | | | return areas and THR stuff. Use struct thread intern instead. p4raw-id: //depot/ansiperl@335
* GCC + Threads on Win32 - best gcc results yetNick Ing-Simmons1997-11-291-2/+3
| | | p4raw-id: //depot/ansiperl@331
* [win32] reverse integrate mainlineGurusamy Sarathy1997-11-251-6/+6
|\ | | | | p4raw-id: //depot/win32/perl@302
| * Integrate from ansi branch to mainline.Malcolm Beattie1997-11-251-7/+15
| |\ | |/ |/| p4raw-id: //depot/perl@296
| * AIX patch (including Configure support for {sched,pthread}_yield,Jarkko Hietaniemi1997-11-251-3/+3
| | | | | | | | | | | | | | pthread initial detach state, renaming perl_thread to perl_os_thread and struct thread to struct perl_thread): Subject: Re: _54 on AIX p4raw-id: //depot/perl@290
| * Rename perl_thread to perl_os_thread.Malcolm Beattie1997-11-251-1/+1
| | | | | | p4raw-id: //depot/perl@289
* | Basic integrate of lastest perl into ansiperlNick Ing-Simmons1997-11-211-1/+1
|\ \ | |/ | | p4raw-id: //depot/ansiperl@272
* | MYMALLOC for Win32:Nick Ing-Simmons1997-11-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | 1. Initialize malloc_mutex before it is used (all platforms!) 2. Adjust #ifdef muddle to allow MYMALLOC and win32_ to coexist 3. Tweak win32/config*.* to define MYMALLOC 4. Provide sbrk() in terms of VirtualAlloc(). Also fixup -MT (perl95) build to handle Perl_current_thread via call to DLL (as though an extension). p4raw-id: //depot/ansiperl@259
* | Implement dTHR via __declspec(thread) - part 2Nick Ing-Simmons1997-11-151-3/+14
| | | | | | p4raw-id: //depot/ansiperl@258
* | Use __declspec(thread) var rather tha TslAlloc & co.Nick Ing-Simmons1997-11-151-7/+5
|/ | | p4raw-id: //depot/ansiperl@257
* Carry over changes in ansiperl branch. Win32 branch is nowGurusamy Sarathy1997-11-121-6/+2
| | | | | the leading edge. p4raw-id: //depot/win32/perl@240
* Minor tweaks to add a thread_intern struct that should ultimatelyGurusamy Sarathy1997-11-121-33/+40
| | | | | | contain all the win32-specific statics. Win32 branch now passes all tests with or w/o USE_THREADS. p4raw-id: //depot/win32/perl@235
* Initial (untested) merge of all non-ansi changes on ansiperl branchGurusamy Sarathy1997-11-101-33/+61
| | | | | into win32 branch. p4raw-id: //depot/win32/perl@221
* Remove global macro "self". Change thr->Tself to thr->self.Malcolm Beattie1997-10-291-3/+3
| | | p4raw-id: //depot/perl@190
* Improve internal threading API. Introduce win32/win32thread.[ch]Malcolm Beattie1997-10-241-0/+102
to use new API and patch win32 makefile stuff a little. p4raw-id: //depot/perl@172