#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 <string.h>
Go to the source code of this file.
Defines | |
#define | REDD_LOAD_SYMBOL(NAME, TYPE) |
#define REDD_LOAD_SYMBOL | ( | NAME, | |
TYPE | |||
) |
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;\ }\ if ( NAME == NULL) {\ throw cms::Exception("LStoreFile::loadLibrary()") <<\ "Got a null pointer back from dlsym()\n";\ }
Definition at line 87 of file LStoreFile.cc.
Referenced by LStoreFile::loadLibrary().