module DRb

def thread

This returns nil if there is no primary server. See #primary_server.

Get the thread of the primary server.
def thread
  @primary_server ? @primary_server.thread : nil
end