- Removed call to FlushThread, it is redundant since r17798. SysFlushStdio is called from DoneThreads, which is in turn called after exiting from ThreadFunc.

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@27663 3ad0048d-3df7-0310-abae-a5850022a9f2
- rm the ifdef cpu16bitalu and cpu64bitalu from thlcgobj.a_load_ref_cgpara,
  because they:
  - worsen readability (especially if we add cpu8bitalu as well, for
    completeness)
  - are not needed, because the else clause of the previous if ensures that we
    have (sizeleft<=sizeof(aint)) and sizeof(aint) follows the target cpu alu
    size



git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@27664 3ad0048d-3df7-0310-abae-a5850022a9f2
* Added plain calls for semaphore-related functionality, this removes need to maintain a second copy of thread manager in unis/tthread.inc.

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@27665 3ad0048d-3df7-0310-abae-a5850022a9f2