On Tue, Jun 12, 2012 at 11:50 AM, Umberto Rustichelli aka Ubi <[email protected]> wrote: > ... > Jun 5 15:43:15 pes-app-blank-01 pcscd: > winscard_svc.c:106:CreateContextThread() SYS_ThreadCreate failed: Cannot > allocate memory > Jun 5 15:43:15 pes-app-blank-01 pcscd: pcscdaemon.c:151:SVCServiceRunLoop() > Problem during the context thread creation > ... > Question 2: any clue about this issue???
You could try limiting the stack size for each thread to see if the problem vanishes. Look for the functions pthread_attr_getstacksize and pthread_attr_setstacksize in man and try using them where the threads are created. Read more at: https://computing.llnl.gov/tutorials/pthreads/#Stack Hope it helps. Best wishes, Bruno _______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
