code: def quickRPCServer(provider, prefix, target,
                     maxsize=20,
                     workers=1,
                     useenv=True, conf=None, isolate=False):
      
      from p4p.server import Server
      import time
      queue = ThreadedWorkQueue(maxsize=maxsize, workers=workers)
      provider = NTURIDispatcher(queue, target=target, prefix=prefix, name=provider)
      threads = []
      server = Server(providers=[provider], useenv=useenv, conf=conf, isolate=isolate)
      with server, queue:
          while True:
              time.sleep(10.0)
docs: Run an RPC server in the current thread
  
      Calls are handled sequentially, and always in the current thread, if workers=1 (the default).
      If workers>1 then calls are handled concurrently by a pool of worker threads.
      Requires NTURI style argument encoding.
  
      :param str provider: A provider name.  Must be unique in this process.
      :param str prefix: PV name prefix.  Along with method names, must be globally unique.
      :param target: The object which is exporting methods.  (use the :func:`rpc` decorator)
      :param int maxsize: Number of pending RPC calls to be queued.
      :param int workers: Number of worker threads (default 1)
      :param useenv: Passed to :class:`~p4p.server.Server`
      :param conf: Passed to :class:`~p4p.server.Server`
      :param isolate: Passed to :class:`~p4p.server.Server`