diff options
author | Stefan Metzmacher <metze@samba.org> | 2018-07-24 10:56:34 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2018-07-25 17:49:06 +0200 |
commit | 0c97226356f2ba5f01a58d361371055caf11e2a7 (patch) | |
tree | d2017285c42f119516b553d96877bf817890c985 /source3/smbd/globals.h | |
parent | 2be7518ae5a3c046f5fca04ecc83f9f7044eac74 (diff) | |
download | samba-0c97226356f2ba5f01a58d361371055caf11e2a7.tar.gz |
smbd: introduce sconn->sync_thread_pool
This just simulates a threadpool, but executes the
job functions inline (blocking) in the main thread.
This will be used to work arround some OS limitations,
e.g. if per thread credentials or per thread working directory
are not supported.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'source3/smbd/globals.h')
-rw-r--r-- | source3/smbd/globals.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h index e75ec5408f3..19a130e64f6 100644 --- a/source3/smbd/globals.h +++ b/source3/smbd/globals.h @@ -939,6 +939,7 @@ struct smbd_server_connection { } locks; } smb2; + struct pthreadpool_tevent *sync_thread_pool; struct pthreadpool_tevent *raw_thread_pool; struct smbXsrv_client *client; |