split out gsgpsocket from greenreg
Greenreg doesn't allow to use an other socket than gsgpsocket. This can be reimplemented by specializing greenreg_socket<..>. So just extract out the gsgpsocket specific part from greenreg and move them in gsgpsocket directory.
This merge request contains merge conflicts
Please resolve these conflicts or ask someone with write access to this repository to merge this request manually.
Need to read in details your commits but I disagree on the fact that GreenReg socket should be a part of GSGPSocket. GSGPSocket is a library providing a new kind of socket. GreenReg socket inherit from GSGP socket class. This socket is specific to GreenReg and uses "GSGP library". It doesn't make sense for me to have any GreenReg specific stuff in GSGP folder, it's mixing stuff. Maybe better to have two sockets ?
- a GreenReg socket based on GreenSocket (as you want and I think it couldn't be bad)
- a GreenReg socket based on GSGPSocket (the existing one)
GreenReg socket is a template. It doesn't makes sense to have for example greenreg_socket if we don't have PCIESocket.
For me it's the socket library which needs to implements it's greenreg_socket so we can create for example a greenreg on a PCIESocket. So in fact it's more GSGPSocket specific than Greenreg specific, that's why it needs to be in GSGP.