Commit graph

107 commits

Author SHA1 Message Date
Dicebot
73f773838d import std.typetuple -> import std.meta 2015-05-05 22:22:10 +03:00
k-hara
e7b3d834d7 detab and remove trailing whitespaces 2015-02-10 00:56:40 +09:00
k-hara
638cededda Supplemental fix for issue 13783 in std.parallelism
`auto f(ref ubyte);` should not take an lvalue of `enum E : ubyte`.
Fixing 13783 will disallow the accepts-invalid bug.
2014-11-29 12:16:18 +09:00
kai
6dcb2179e9 Solaris fixes for std.stdio and std.parallelism
- Use GENERIC_IO
- Use sysconf to determine number of CPUs
2014-11-21 22:50:14 +01:00
Ilya Yaroshenko
c8d9afedea clean scope imports
imports of `std.range, std.algorithm, std.array, std.string,
std.format, std.uni` are affected.
2014-11-21 00:08:35 +03:00
k-hara
d20e91ae01 Prevent definition of non-disabled default constructors in template structs 2014-08-26 22:39:35 +09:00
monarchdodra
bdb68f8094 Fix Issue 12733 - parallelism.amap incorrect assignment without initialization 2014-08-23 01:55:37 +02:00
H. S. Teoh
ba310c0f64 Do the same for amap and reduce, for consistency's sake. 2014-08-08 16:12:12 -07:00
H. S. Teoh
d27d85532a Ddoc for map() should be associated with the function itself. 2014-08-08 15:59:23 -07:00
Joakim
60cfc11a11 Make all tests that create a temporary file in the local directory get the path from one central function, so they can be made to use an absolute path 2014-08-04 23:33:25 -05:00
Joakim
11de397dd7 Start getting tests passing on Android/x86 2014-07-09 17:52:15 -05:00
monarchdodra
d609bd332f Sed "@safe pure nothrow" 2014-05-06 08:21:13 +02:00
k-hara
384a1da82f fix property enforcement 2014-04-03 13:46:40 +09:00
safety0ff
fc3cda0beb Fix issue 12446 - std.parallelism.amap: prefer iteration to indexing 2014-03-23 17:34:59 -04:00
monarch dodra
fd4626c15f Update parallelism.d 2014-03-13 12:17:54 +01:00
monarch dodra
6cc8aadcba Remove duplicate isAssignable 2014-03-13 11:51:59 +01:00
monarch dodra
841405d0f1 Cleanup adjoin in parallelism 2014-03-13 11:51:29 +01:00
Yazan S. Dabain
a81f6200cf [Trivial] Fix documentation typos 2014-02-28 21:08:19 +02:00
k-hara
b391b2ec9f Convert to new alias syntax 2014-02-11 15:27:05 +09:00
Daniel Murphy
a656f26e9e Remove use of automatic adjacent string literal concatenation from phobos 2014-01-20 03:42:21 +11:00
monarchdodra
fd8540072d Remove trailing white 2014-01-08 08:30:28 +01:00
Andrei Alexandrescu
56da8e597d Merge branch 'master' of github.com:D-Programming-Language/phobos into fewer-imports 2013-12-22 22:20:24 -08:00
Maxim Fomin
8783a76e4d Add link to bug page 2013-12-22 20:55:40 +02:00
Maxim Fomin
df129273cc Disable setting thread priority 2013-12-22 20:37:16 +02:00
Andrei Alexandrescu
4093af87a9 Removed spurious messages, fixed unittest errors 2013-12-19 18:58:33 -08:00
Daniel Murphy
92358ab76c Convert x.classinfo to typeid(x) 2013-11-18 21:54:02 +11:00
k-hara
30356d606f Fix @property annotations and incorrect parenthesis 2013-07-16 00:31:26 +09:00
Hackerpilot
0eede0c55b Removed empty declarations 2013-07-03 10:52:47 -07:00
k-hara
03a32d6fa4 Fix issue 313 & 314 2013-06-25 08:38:30 +09:00
k-hara
2538ace0c3 Braces should be placed their own line 2013-02-24 12:02:44 +09:00
k-hara
8b02b387ad Prefer Template!ident than Template!(ident) 2013-02-24 12:02:41 +09:00
k-hara
e76d200dfa Fix line wrap (based on column <= 120) 2013-02-24 12:02:40 +09:00
k-hara
acbfceff78 Fix incorrect indentation 2013-02-24 12:02:38 +09:00
k-hara
b08ffbd6b5 Remove trailing spaces 2013-02-24 12:02:36 +09:00
k-hara
651f09f0d8 Fix undefined identifier error 2013-02-24 12:02:34 +09:00
dsimcha
cdc2596eb6 Fix incorrect test. Calling finish(false) doesn't guarantee that the task won't be complete immediately after finish() returns. 2012-12-08 10:19:54 -05:00
k-hara
01df2f60be Remove redundant parenthesis for getters, and use assignment syntax for setters 2012-11-23 15:07:17 +09:00
dsimcha
d4cce7be56 Fixes Issue 8849: std.parallelism.executeInNewThread with thread priority segfaults 2012-10-18 14:35:54 -04:00
Jameson Little
bb03a77219 Update std/parallelism.d 2012-10-12 22:00:19 -06:00
dsimcha
172bca14f8 Call executeWorkLoop() from startWorkLoop() like I meant to all along. This should fix the unittest failures. 2012-08-25 19:21:15 -04:00
dsimcha
9ad6be42ba Exception -> Error when submitting to a finishing pool, weird, useless behavior when calling finish() from a worker thread -> deterministic deadlock because it's the least bad solution. 2012-08-25 11:31:17 -04:00
dsimcha
ab9691df2e Fix Bug 8582. 2012-08-24 22:47:49 -04:00
dsimcha
ee3b2b06a3 Improvements to std.parallelism docs: Add source link, improve formatting of examples. 2012-07-25 21:39:03 -04:00
Denis Shelomovskij
64f93b970a Replace typeof(<type>.init[0]) with templates
* ElementEncodingType (12)
* ElementType(1)
2012-07-11 12:58:40 -07:00
jmdavis
02931eb501 Revert "Merge pull request #664 from denis-sh/add-ArrayTarget-template"
This reverts commit f4d0a49493, reversing
changes made to 3cb69914c5.

The merging of request #664 was accidental, and it should not have been
merged. See https://github.com/D-Programming-Language/phobos/pull/664
for details.
2012-07-11 11:49:28 -07:00
Denis Shelomovskij
00c0d61403 Replace typeof(<type>.init[0]) with templates
* ArrayTarget (12)
2012-07-06 13:38:06 +04:00
Denis Shelomovskij
ea6c9be477 Replace typeof(<type>.init[0]) with templates
* ElementEncodingType (12)
* ElementType(1)
2012-07-06 13:27:07 +04:00
dsimcha
31276a518d Remove incorrect assert. 2012-06-17 15:18:34 -04:00
John Belmonte
01cd4f3eed Issue 8214 - blocking option for TaskPool.finish()
Add backwards compatible blocking option to finish().  Remove disabled
join() method.  Add unit tests for finish().
2012-06-17 08:53:20 -04:00
k-hara
af9ea3465c Move implementation templates into template local scope 2012-01-29 20:37:48 +09:00