Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Change a subclass into a superclass around contexts
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Sat, 5 Jan 2019 19:02:13 +0000 (20:02 +0100)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Sat, 5 Jan 2019 19:02:23 +0000 (20:02 +0100)
commit4d5c6aed22b8ae1c8a73cd04d8ab800322d177bf
tree2c134269499513243ac55819b24ffd859b9a266a
parent7e42dd535dfc0d68de20fba4b9fc5e480b56c74b
Change a subclass into a superclass around contexts

SerialUContext was a subclass of UContext. SwappedContext does the
same, as a super class of UContext.

The idea is to make SwappedContext the ancestor of BoostContext and
RawContext too, to factorize as much code as possible.
src/kernel/context/ContextBoost.cpp
src/kernel/context/ContextRaw.cpp
src/kernel/context/ContextSwapped.cpp [new file with mode: 0644]
src/kernel/context/ContextSwapped.hpp [new file with mode: 0644]
src/kernel/context/ContextUnix.cpp
src/kernel/context/ContextUnix.hpp
tools/cmake/DefinePackages.cmake