https://github.com/Kitware/CMake
Revision 13e5df19fdeaf16ff51819caf322a426ecaf328c authored by Brad King on 06 August 2020, 14:38:27 UTC, committed by Kitware Robot on 06 August 2020, 14:39:46 UTC
ef97fbe6c2 PCH: Avoid unnecessary 30s delay on MSBuild Generator with REUSE_FROM

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5102
2 parent s 9c4130e + ef97fbe
Raw File
Tip revision: 13e5df19fdeaf16ff51819caf322a426ecaf328c authored by Brad King on 06 August 2020, 14:38:27 UTC
Merge topic 'reuse_pch_no_delay' into release-3.18
Tip revision: 13e5df1
CheckForPthreads.c
#include <pthread.h>

void* start_routine(void* args)
{
  return args;
}

int main(void)
{
  /* This is a compile and link test, no code to actually run things. */
  pthread_t thread;
  pthread_create(&thread, 0, start_routine, 0);
  pthread_join(thread, 0);
  return 0;
}
back to top