summaryrefslogtreecommitdiff
path: root/rts/win32/WorkQueue.c
Commit message (Collapse)AuthorAgeFilesLines
* rts: use allocation helpers from RtsUtilsnineonine2021-12-101-2/+2
| | | | | | | Just a tiny cleanup inspired by the following comment: https://gitlab.haskell.org/ghc/ghc/-/issues/19437#note_334271 I was just getting familiar with rts code base so I thought might as well do this.
* rts/win32: Fix missing #include'sBen Gamari2020-09-171-0/+1
| | | | These slipped through CI.
* rts: Consistently use stgMallocBytes instead of mallocGHC GitLab CI2020-09-051-6/+1
| | | | | This can help in debugging RTS memory leaks since all allocations go through the same interface.
* winio: Use SlimReaderLocks and ConditonalVariables provided by the OS ↵Tamar Christina2020-07-151-6/+8
| | | | instead of emulated ones
* rts: Add missing #include <stdbool.h>Ben Gamari2016-11-291-0/+1
|
* Use C99's boolBen Gamari2016-11-291-15/+15
| | | | | | | | | | | | Test Plan: Validate on lots of platforms Reviewers: erikd, simonmar, austin Reviewed By: erikd, simonmar Subscribers: michalt, thomie Differential Revision: https://phabricator.haskell.org/D2699
* Revert "rts: add Emacs 'Local Variables' to every .c file"Simon Marlow2014-09-291-8/+0
| | | | This reverts commit 39b5c1cbd8950755de400933cecca7b8deb4ffcd.
* rts: add Emacs 'Local Variables' to every .c fileAustin Seipp2014-07-281-0/+8
| | | | | | | | This will hopefully help ensure some basic consistency in the forward by overriding buffer variables. In particular, it sets the wrap length, the offset to 4, and turns off tabs. Signed-off-by: Austin Seipp <austin@well-typed.com>
* rts: delint/detab/dewhitespace win32/WorkQueue.cAustin Seipp2014-07-281-26/+27
| | | | Signed-off-by: Austin Seipp <austin@well-typed.com>
* On Windows, Delete the CriticalSection's we InitializeIan Lynagh2007-11-251-0/+1
|
* Free Win32 Handles on shutdownSimon Marlow2006-08-251-3/+11
| | | | patch from #878
* Reorganisation of the source treeSimon Marlow2006-04-071-0/+215
Most of the other users of the fptools build system have migrated to Cabal, and with the move to darcs we can now flatten the source tree without losing history, so here goes. The main change is that the ghc/ subdir is gone, and most of what it contained is now at the top level. The build system now makes no pretense at being multi-project, it is just the GHC build system. No doubt this will break many things, and there will be a period of instability while we fix the dependencies. A straightforward build should work, but I haven't yet fixed binary/source distributions. Changes to the Building Guide will follow, too.