#include "Utilities/LStoreAdaptor/interface/LStoreFile.h"
#include "FWCore/Utilities/interface/Exception.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include <cassert>
#include <vector>
#include <unistd.h>
#include <fcntl.h>
#include <pthread.h>
#include <dlfcn.h>
#include <iostream>
#include <cstring>
Go to the source code of this file.
◆ REDD_LOAD_SYMBOL
#define REDD_LOAD_SYMBOL |
( |
|
NAME, |
|
|
|
TYPE |
|
) |
| |
Value:dlerror(); \
NAME = reinterpret_cast<TYPE>(reinterpret_cast<size_t>(dlsym(m_library_handle, #NAME))); \
if ((retval = dlerror())) { \
throw
cms::Exception(
"LStoreFile::loadLibrary()") <<
"Failed to load dlsym LStore library: " << retval; \
} \
throw
cms::Exception(
"LStoreFile::loadLibrary()") <<
"Got a null pointer back from dlsym()\n"; \
}
Definition at line 74 of file LStoreFile.cc.