Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #972 from MartinNowak/fixThreadDocs
Browse files Browse the repository at this point in the history
[trivial] docs won't build because of missing variables in CoreDDoc mode
  • Loading branch information
dnadlinger committed Oct 4, 2014
2 parents 205bcad + 2cabbed commit 0b43dc3
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/core/thread.d
Original file line number Diff line number Diff line change
Expand Up @@ -1858,9 +1858,6 @@ version( CoreDdoc )
}
else version( Posix )
{
__gshared int suspendSignalNumber;
__gshared int resumeSignalNumber;

extern (C) void thread_setGCSignals(int suspendSignalNo, int resumeSignalNo)
in
{
Expand All @@ -1881,6 +1878,12 @@ else version( Posix )
}
}

version( Posix )
{
__gshared int suspendSignalNumber;
__gshared int resumeSignalNumber;
}

/**
* Initializes the thread module. This function must be called by the
* garbage collector on startup and before any other thread routines
Expand Down

0 comments on commit 0b43dc3

Please sign in to comment.