- 18 Feb, 2014 14 commits
-
-
Eric Cano authored
-
Eric Cano authored
-
Eric Cano authored
-
Eric Cano authored
-
Steven Murray authored
-
Steven Murray authored
castor::tape::SmartFd The above class has been replaced by: castor::utils::SmartFd
-
Steven Murray authored
castor::utils::SmartFd This class should eventually replace the folowing class: castor::tape::utils::SmartFd
-
Eric Cano authored
-
Eric Cano authored
This class will handle all communication with the tape gateway of the command line clients. It replaces the development code in the tapeSession class (removed).
-
Steven Murray authored
-
Steven Murray authored
-
Steven Murray authored
-
Steven Murray authored
namespaces in CASTOR start with lower case letters.
-
Steven Murray authored
CASTOR start with lower case letters.
-
- 17 Feb, 2014 6 commits
-
-
Steven Murray authored
tapeserverd.cpp and tapeserverd.hpp with: TapeDaemon.cpp, tapeDaemon.hpp and TapeDaemonMain.cpp
-
Steven Murray authored
that is carried out when the method checks that the child has successfully detached from the parent by making sure the return value of getppid() is 1. I have removed the sanity check because it is time dependent. If the child calls getppid() before the parent has enough time to exit then the child gets the process ID of its true parent as opposed to the process ID of the init process.
-
Steven Murray authored
castor/server/Daemon.cpp and castor/tape/tapeserver/daemon/tapeserverd.cpp.
-
Steven Murray authored
This reverts commit e7c0fd7f.
-
Steven Murray authored
castor::exception::DetachFailed
-
Daniele Kruse authored
-
- 14 Feb, 2014 2 commits
- 15 Feb, 2014 2 commits
-
-
Steven Murray authored
of the following class: castor::server::Daemon Subclasses now have a more explicit API for parsing the command-line. They can delegate the task to the above Daemon class or they can implement there own parsing logic. In the latter case the subclass must call the following Daemon method: castor::server::Daemon::setCommandLineParsed(bool foreground); This method makes it clear what the Daemon class needs to know from a parse of the command-line. If a client subclass calls the getForeground() method of the Daemon class before callng setCommandLineParsed() then a CommandLineNotParsed exception shall be raised.
-
Steven Murray authored
castor/utils/UtilsTest.
-
- 14 Feb, 2014 4 commits
-
-
Steven Murray authored
objects representing standard in and standard error. By being able to provide dummy output stream objects, this modification allows C++ daemon objects to be instantiated in unit tests without the worry of them writing to the real standard in and standard error streams.
-
Eric Cano authored
-
Steven Murray authored
castor::server::Daemon
-
Steven Murray authored
-
- 13 Feb, 2014 7 commits
-
-
Eric Cano authored
-
Eric Cano authored
Made output verbose to understand the failure of suppression list in TeamCity.
-
Eric Cano authored
The base framework's marshaling code seems to race in std::string related functions. We suppress those errors to allow unit testing with race conditions detection.
-
Eric Cano authored
-
Daniele Kruse authored
-
Eric Cano authored
-
Eric Cano authored
The lazy initialization of member s_servicesKey was racing with its usage in services(). As the laziness is not really needed, replaced it with a init-time initialization in a small wrapper class.
-
- 12 Feb, 2014 5 commits
-
-
Eric Cano authored
Added support for Cthread_init and castor::BaseObject::resetServices in tape threads and unit tests. This will ensure that all tests and clients will be protected from memory leaks and race conditions.
-
Eric Cano authored
This allows the deletion of the services allocatated by the castor framework, and leak-free unit tests.
-
Eric Cano authored
Created a bare-bones tape session with corresponding harness in a unit test. Successfuly retrives the volume id from a client thread.
-
Giuseppe Lo Presti authored
-
Giuseppe Lo Presti authored
-