This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
associative array synchronization question
- From: Nicholas Murphy <nmurphy at eecs dot harvard dot edu>
- To: systemtap at sourceware dot org
- Date: Fri, 20 Jul 2012 15:47:22 -0400
- Subject: associative array synchronization question
Sorry for the very basic question: it says in the documentation that any probe using an associative array (which is necessarily global) will automatically hold a lock on that array for the duration of the probe...is that true regardless of whether the probe actually touches the array? Or does it only lock on first access?
Thanks,
Nick