Skip to content

Commit 454471d

Browse files
authored
Merge pull request dlang#3836 from dkorpel/sync-package
Fix issue 21781 - Add core/sync/package.d for documentation
2 parents ae07247 + 19260c4 commit 454471d

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

mak/DOCS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ DOCS=\
109109
$(DOCDIR)\core_stdcpp_string.html \
110110
$(DOCDIR)\core_stdcpp_vector.html \
111111
\
112+
$(DOCDIR)\core_sync.html \
112113
$(DOCDIR)\core_sync_event.html \
113114
$(DOCDIR)\core_sync_exception.html \
114115
$(DOCDIR)\core_sync_barrier.html \

posix.mak

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,9 @@ $(DOC_OUTPUT_DIR)/core_stdc_%.html : src/core/stdc/%.d $(DMD)
195195
$(DOC_OUTPUT_DIR)/core_stdcpp_%.html : src/core/stdcpp/%.d $(DMD)
196196
$(DMD) $(DDOCFLAGS) -Df$@ project.ddoc $(DOCFMT) $<
197197

198+
$(DOC_OUTPUT_DIR)/core_sync.html : src/core/sync/package.d $(DMD)
199+
$(DMD) $(DDOCFLAGS) -Df$@ project.ddoc $(DOCFMT) $<
200+
198201
$(DOC_OUTPUT_DIR)/core_sync_%.html : src/core/sync/%.d $(DMD)
199202
$(DMD) $(DDOCFLAGS) -Df$@ project.ddoc $(DOCFMT) $<
200203

src/core/sync/package.d

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
/**
2+
* Provides thread synchronization tools such as mutexes, semaphores and barriers.
3+
*
4+
* License: Distributed under the
5+
* $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0).
6+
* (See accompanying file LICENSE)
7+
* Authors: Sean Kelly, Rainer Schuetze
8+
* Source: $(DRUNTIMESRC core/sync/package.d)
9+
*/
10+
11+
module core.sync;
12+
13+
public import core.sync.barrier;
14+
public import core.sync.condition;
15+
public import core.sync.config;
16+
public import core.sync.event;
17+
public import core.sync.exception;
18+
public import core.sync.mutex;
19+
public import core.sync.rwmutex;
20+
public import core.sync.semaphore;

0 commit comments

Comments
 (0)