diff options
author | Max Romanov <max.romanov@nginx.com> | 2021-01-28 18:32:12 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2021-01-28 18:32:12 +0300 |
commit | 46a8c98a1aa6e0c4b86a72b8f8fe47878012afb1 (patch) | |
tree | a9a187b79a8de51f45dc99a052d63f8ee13fdae4 /src/nxt_runtime.c | |
parent | e4e444b82701de0c984a72eb9c2657f72d7171ae (diff) | |
download | unit-46a8c98a1aa6e0c4b86a72b8f8fe47878012afb1.tar.gz unit-46a8c98a1aa6e0c4b86a72b8f8fe47878012afb1.tar.bz2 |
Removing unused mutex from nxt_process_t.
Diffstat (limited to 'src/nxt_runtime.c')
-rw-r--r-- | src/nxt_runtime.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nxt_runtime.c b/src/nxt_runtime.c index d9d986da..8a86d38a 100644 --- a/src/nxt_runtime.c +++ b/src/nxt_runtime.c @@ -1387,7 +1387,6 @@ nxt_runtime_process_new(nxt_runtime_t *rt) nxt_queue_init(&process->ports); nxt_thread_mutex_create(&process->incoming.mutex); - nxt_thread_mutex_create(&process->cp_mutex); process->use_count = 1; @@ -1408,7 +1407,6 @@ nxt_runtime_process_release(nxt_runtime_t *rt, nxt_process_t *process) nxt_port_mmaps_destroy(&process->incoming, 1); nxt_thread_mutex_destroy(&process->incoming.mutex); - nxt_thread_mutex_destroy(&process->cp_mutex); /* processes from nxt_runtime_process_get() have no memory pool */ if (process->mem_pool != NULL) { |