Skip to content
Snippets Groups Projects
  • Rob Swindell's avatar
    ad4af220
    Add startup_t set_state callback support · ad4af220
    Rob Swindell authored
    Replaces the status(), started() and terminated() callbacks, in this case.
    
    set_state() is called from a single thread (unlike status() was), so no mutex should be needed here.
    
    Don't do the cursor dance. We have multiple servers, so reflecting their state in the cursor is not really accurate.
    
    I'll clean-up the commented-out code after some more testing.
    ad4af220
    History
    Add startup_t set_state callback support
    Rob Swindell authored
    Replaces the status(), started() and terminated() callbacks, in this case.
    
    set_state() is called from a single thread (unlike status() was), so no mutex should be needed here.
    
    Don't do the cursor dance. We have multiple servers, so reflecting their state in the cursor is not really accurate.
    
    I'll clean-up the commented-out code after some more testing.