Properly initialize the stack with emulated thread variables.
Remove references to pthread_mutex_timedlock().

The pthread_mutex_timedlock() function is not supported on a number
of architectures and is not actually used by the library or compiler,
but prevents C++ compilation on systems that do not support it when
threads are enabled.
fixed the deadlock that happens when stress testing ToFreeQueue
TAtomType includes 'bool'
Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
the codegen doesn't emit deepCopy for parallel statements
Fix compile because of case sensitivity
Merge pull request #1636 from rbehrends/fix-thread-issues

Fix some thread issues
fixes #1646
Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
renamed CondVar to Semaphore
Remove runtime deadlock prevention as deadlock detection at compile-time is available

Conflicts:
	lib/core/locks.nim
proper fix for stack initialization and threadvar emulation
fixes #1560
fixes #1593
fixes #1473
fixes a regression that made 'system.compiles' output the produced error messages
fixes #1127
Merge pull request #1643 from def-/fix-locks-case

Fix compile because of case sensitivity
fixes error propagation for macros.parseExpr