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

Commit

Permalink
enable docs for critical regions
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinNowak committed Jun 1, 2013
1 parent 64601f4 commit 88ccad0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/thread.di
Expand Up @@ -571,7 +571,7 @@ extern (C) void thread_scanAllType( scope ScanAllThreadsTypeFn scan );
extern (C) void thread_scanAll( scope ScanAllThreadsFn scan );


/*
/**
* Signals that the code following this call is a critical region. Any code in
* this region must finish running before the calling thread can be suspended
* by a call to thread_suspendAll.
Expand All @@ -595,7 +595,7 @@ extern (C) void thread_scanAll( scope ScanAllThreadsFn scan );
extern (C) void thread_enterCriticalRegion();


/*
/**
* Signals that the calling thread is no longer in a critical region. Following
* a call to this function, the thread can once again be suspended.
*
Expand All @@ -605,7 +605,7 @@ extern (C) void thread_enterCriticalRegion();
extern (C) void thread_exitCriticalRegion();


/*
/**
* Returns true if the current thread is in a critical region; otherwise, false.
*
* In:
Expand Down

0 comments on commit 88ccad0

Please sign in to comment.