Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
4,335
Issues
4,335
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
371
Merge Requests
371
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
5f3c5384
Commit
5f3c5384
authored
Jul 01, 2014
by
Edward Z. Yang
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Partially fix
#9003
by reverting bad numbering.
Signed-off-by:
Edward Z. Yang
<
ezyang@cs.stanford.edu
>
parent
94c47f57
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
13 deletions
+15
-13
includes/rts/Constants.h
includes/rts/Constants.h
+15
-13
No files found.
includes/rts/Constants.h
View file @
5f3c5384
...
...
@@ -202,32 +202,34 @@
*/
#define NotBlocked 0
#define BlockedOnMVar 1
#define BlockedOnMVarRead
2
#define BlockedOnBlackHole
3
#define BlockedOnRead
4
#define BlockedOnWrite
5
#define BlockedOnDelay
6
#define BlockedOnSTM
7
#define BlockedOnMVarRead
14
/* TODO: renumber me, see #9003 */
#define BlockedOnBlackHole
2
#define BlockedOnRead
3
#define BlockedOnWrite
4
#define BlockedOnDelay
5
#define BlockedOnSTM
6
/* Win32 only: */
#define BlockedOnDoProc
8
#define BlockedOnDoProc
7
/* Only relevant for PAR: */
/* blocked on a remote closure represented by a Global Address: */
#define BlockedOnGA
9
#define BlockedOnGA
8
/* same as above but without sending a Fetch message */
#define BlockedOnGA_NoSend
10
#define BlockedOnGA_NoSend
9
/* Only relevant for THREADED_RTS: */
#define BlockedOnCCall 1
1
#define BlockedOnCCall_Interruptible 1
2
#define BlockedOnCCall 1
0
#define BlockedOnCCall_Interruptible 1
1
/* same as above but permit killing the worker thread */
/* Involved in a message sent to tso->msg_cap */
#define BlockedOnMsgThrowTo 1
3
#define BlockedOnMsgThrowTo 1
2
/* The thread is not on any run queues, but can be woken up
by tryWakeupThread() */
#define ThreadMigrating 14
#define ThreadMigrating 13
/* WARNING WARNING top number is BlockedOnMVarRead 14, not 13!! */
/*
* These constants are returned to the scheduler by a thread that has
...
...
Administrator
@root
mentioned in commit
3f68d967
·
Dec 17, 2018
mentioned in commit
3f68d967
mentioned in commit 3f68d967dba4d53068db9fca64808484ecafb52d
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment