Wednesday, April 1, 2015

Digest for comp.programming.threads@googlegroups.com - 6 updates in 5 topics

Algo- I <algorithm.ai8@gmail.com>: Mar 31 10:19PM -0700

We are building community for algorithm lovers,users and learners.
Please fill the form in the link below and help the community grow
Please share it as much as possible
 
http://goo.gl/forms/CsfA9BxWa8
 
fb page: https://www.facebook.com/algorithm.i
Ramine <ramine@1.1>: Mar 31 04:07PM -0700

Hello,
 
 
Is the Optimism in Optimistic Concurrency Warranted?
 
Read more here:
 
http://z.cs.utexas.edu/users/osa/metatm/pubs/hotos07.html
 
 
Thank you,
Amine Moulay Ramdane.
bleachbot <bleachbot@httrack.com>: Mar 31 07:00PM +0200

bleachbot <bleachbot@httrack.com>: Mar 31 10:04PM +0200

gyhuang@ucdavis.edu: Mar 31 11:58AM -0700

Hi
I met a similar issue. Finally I use thread specific key as follows:
function(){
Sigjmp_buf localbuf;
pthread_setspecific(pthread_key_t key, (const void *)&localbuf);
 
if (sigsetjmp(localbuf, 0) != 0) {
//assign error
//return error
}
//done with everything
pthread_setspecific(pthread_key_t key, NULL);
}
 
void signal_handler(int sig)
{
if (sig == SIGSEGV){
void * sigjmplocal =pthread_getspecific(pthread_key_t key);
if (sigjmplocal)
siglongjmp(*(Sigjmp_buf*)sigjmplocal, 1);

}
}
 
From book, SIGSEGV is sent to the thread that triggers it.
Is it safe to use this approach? It seems working with simple UT. But I can not foresee its risk.
 
Thanks a lot.
 
 
 
On Friday, July 20, 2012 at 2:42:22 PM UTC-7, Michael Podolsky wrote:
Ramine <ramine@1.1>: Mar 31 01:04PM -0700

On 3/26/2015 3:32 PM, Ramine wrote:
> combination of simplicity and scalability. This parallel algorithm makes
> the search() method scalable and it makes the insert() method of a
> descent throughput. This parallel algorithm employs one distributed
 
i mean: it makes the insert() method of a decent throughput
 
 
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to comp.programming.threads+unsubscribe@googlegroups.com.

No comments: