terra-sync / cnc

Seamless Database Replication tool
GNU General Public License v3.0
4 stars 2 forks source link

Threads #71

Closed panosfol closed 1 month ago

panosfol commented 1 month ago

This PR changes the way that we handle the creation of the log file and adds thread functionality.

charmitro commented 1 month ago

This can be removed now, right? https://github.com/terra-sync/cnc/blob/170b9ad82343084fc4bc1b1a312b363bc66e4c39/include/log.h#L16

What about this? @panosfol

Correction, here's the leftover extern:

https://github.com/terra-sync/cnc/blob/9342df84aa6f78a950f662014bf6c2a60cade3ac/src/cnc.c#L15