/* * Copyright (C) by Argonne National Laboratory * See COPYRIGHT in top-level directory */ /* FIXME For now we rely on pthreads for our IPC locks. This is fairly * portable, although it is obviously not 100% portable. We need to figure out * how to support other threading packages and lock implementations, such as the * BG/P lockbox. */ #include "mpl_atomic.h" #ifdef MPL_HAVE_PTHREAD_H #include pthread_mutex_t MPLI_emulation_lock = PTHREAD_MUTEX_INITIALIZER; #endif /* MPL_HAVE_PTHREAD_H */