John McCall
1899ae3ec4
Allow the lambda-based mutex operations to return a value. NFC.
2018-03-17 11:40:29 -04:00
Calvin Hill
aee81d272f
Add Initial platform support for Haiku. ( #11583 )
2017-09-22 21:06:56 -04:00
practicalswift
6d1ae2a39c
[gardening] 2016 → 2017
2017-01-06 16:41:22 +01:00
Hugh Bellamy
61c83ab5eb
Change _MSC_VER conditions to _WIN32 in runtime
2016-12-19 15:54:49 +00:00
practicalswift
797b80765f
[gardening] Use the correct base URL ( https://swift.org ) in references to the Swift website
...
Remove all references to the old non-TLS enabled base URL (http://swift.org )
2016-11-20 17:36:03 +01:00
Joe Groff
3081a1e9bc
Namespace #defines that weren't SWIFT_-prefixed.
...
NFC
2016-06-17 11:02:47 -07:00
Han Sangjin
be815aabbb
[stdlib/msvc] Runtime with MSVC library
...
This patch is for libswiftCore.lib, linking with the library set of Visual Studio 2015. Clang with the option -fms-extension is used to build this port.
This is the approved subpatch of a large patch.
2016-06-02 08:10:40 +09:00
practicalswift
540cb751ac
[gardening] Fix recently introduced typo: "adavances" → "advances"
...
[gardening] Fix recently introduced typo: "compie" → "compile"
[gardening] Fix recently introduced typo: "consise" → "concise"
[gardening] Fix recently introduced typo: "dengerate" → "degenerate"
[gardening] Fix recently introduced typo: "encodeded" → "encoded"
[gardening] Fix recently introduced typo: "equvalent" → "equivalent"
[gardening] Fix recently introduced typo: "guaranted" → "guaranteed"
[gardening] Fix recently introduced typo: "overridde" → "override"
[gardening] Fix recently introduced typo: "subsquence" → "subsequence"
[gardening] Fix recently introduced typo: "substraction" → "subtraction"
[gardening] Fix recently introduced typo: "whiltespace" → "whitespace"
2016-05-01 20:07:18 +02:00
Shawn Erickson
d78c6e3403
[runtime] addressed review comments outlined in #1950
2016-04-28 10:39:35 -07:00
Shawn Erickson
16c39d92f1
[runtime] predicate the use of constexpr on what the platform can support
...
At the moment CYGWIN pthreads implementation doesn't support the use of constexpr for static allocation versions. The way they define things results in a reinterpret_cast which violates constexpr.
2016-04-22 11:45:03 -07:00
Shawn Erickson
a0452be947
[runtime] enhanced and refactored recently added Mutex abstraction
...
- added read / write lock support
- added non-fatal error support to allow use of mutex in fatal error reporting pathway
- isolated pthread implementation to it own header/cpp file pair
- expanded unit tests to cover new code as well as better test existing mutex
- removed a layer of complexity that added no real value
2016-04-06 13:02:37 -07:00
practicalswift
bbef13a050
[gardening] Fix recently introduced typo: "attribtue" → "attribute"
...
[gardening] Fix recently introduced typo: "delinated" → "delineated"
[gardening] Fix recently introduced typo: "abstactions" → "abstractions"
[gardening] Fix recently introduced typo: "cannoted" → "cannot"
[gardening] Fix recently introduced typo: "accomodate" → "accommodate"
[gardening] Fix recently introduced typo: "bulding" → "building"
[gardening] Fix recently introduced typo: "abstactions" → "abstractions"
[gardening] Fix recently introduced typo: "intiializers" → "initializers"
2016-03-30 18:20:53 +02:00
Oleksandr Tymoshenko
cd8b332f26
Add FreeBSD to the list of platforms with phreads
2016-03-29 16:46:10 -07:00
Shawn Erickson
aeceb2cad8
[runtime] Addressed PR1731 comments and...
...
- cleaned up private scoping
- removed generally unneeded API
- fix defect in unit tests causing stuck threads
2016-03-23 22:54:36 -07:00
Shawn Erickson
2f84220712
[runtime] added Mutex, Condition, and Scoped locks for use by Swift runtime (see SR-946)
2016-03-20 22:56:24 -07:00