Shared memory - Data between threads

2023-03-23 Thread miim
I used a mutex in implementing mod_spamhaus, mod_sorbscheck and mod_torcheck to maintain consistency across threads. I have not seen problems since. I found the Apache mutex code to be somewhat opaque, so I wrote my own. I did find that "interesting" but after several revisions I had somethi

Re: Shared memory - data between threads

2023-03-23 Thread Yann Ylavic
Hello; On Thu, Mar 23, 2023 at 11:48 AM Bob Weeks wrote: > > I created a little test module to just increment a value in this code > block each time I called the page and printout the next time it passed. > > ap_log_error(APLOG_MARK, APLOG_INFO,0,r->server,"Config = > %ld",(long)cfg->Dat

Shared memory - data between threads

2023-03-23 Thread Bob Weeks
Hello, A few years ago I ported a Netscape NSAPI module to Apache 1.3 for a financial institution which assisted in processing financial transactions. This module created a sub-pool which contained a number of linked lists with session data created in the module initializer part of the module