[antlr-interest] Is ANTLR C runtime thread-safe?

Jim Idle jimi at intersystems.com
Fri Feb 2 15:11:01 PST 2007


Tom,

 

The C runtime is actually free threading, subject to any system calls that you make in actions or the malloc/realloc/free() calls that it may cause. I deliberately made sure that the code generated and the runtime libraries do nothing that gets in the way of being thread safe. That isn’t to say there are not bugs (as I have not done lots of testing) but those can be fixed. The design is sound for threading though.

 

Jim

 

From: Tom Liu [mailto:TomL at avokia.com] 
Sent: Friday, February 02, 2007 2:41 PM
To: Jim Idle
Cc: antlr-interest at antlr.org
Subject: Is ANTLR C runtime thread-safe?

 

 

Hi Jim

 

Is ANTLR C runtime thread-safe?

Or Is there a special version supporting multi-thread ?

 

 

Thanks

Tom

 

 

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.15.14/578 - Release Date: 12/7/2006 1:27 AM

 

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.15.15/579 - Release Date: 12/7/2006 1:31 PM

 

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.15.15/579 - Release Date: 12/7/2006 1:31 PM

 

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.15.15/579 - Release Date: 12/7/2006 1:31 PM

 

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.15.15/579 - Release Date: 12/7/2006 1:31 PM

 

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.19/663 - Release Date: 2/1/2007 2:28 PM


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.19/663 - Release Date: 2/1/2007 2:28 PM
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070202/318c049d/attachment.html 


More information about the antlr-interest mailing list