apache portable runtime - aragorn/home GitHub Wiki

apr_pools.h is NOT thread safe

http://apr.apache.org/docs/apr/1.5/apr__pools_8h.html

Note that most operations on pools are not thread-safe: a single pool should only be accessed by a single thread at any given time. The one exception to this rule is creating a subpool of a given pool: one or more threads can safely create subpools at the same time that another thread accesses the parent pool.

thread pool

  • ν™œμš© 사둀 확인을 ν•˜κ³  싢은데 잘 μ•ˆ μ°Ύμ•„μ§„λ‹€.
  • data race 였λ₯˜λ₯Ό μ–΄λ–»κ²Œ ν•΄κ²°ν•˜λŠ” 것인지?