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

Commit

Permalink
Make thread scanning delegates 'scope'.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrp committed Jan 19, 2012
1 parent 000a432 commit 169a3cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/thread.d
Expand Up @@ -2539,8 +2539,8 @@ enum ScanType
tls,
}

alias void delegate( void*, void* ) ScanAllThreadsFn;
alias void delegate( ScanType, void*, void* ) NewScanAllThreadsFn;
alias scope void delegate( void*, void* ) ScanAllThreadsFn;
alias scope void delegate( ScanType, void*, void* ) NewScanAllThreadsFn;

/**
* The main entry point for garbage collection. The supplied delegate
Expand Down

0 comments on commit 169a3cf

Please sign in to comment.