Jump to content

Talk:Metered concurrency

From Rosetta Code

Table of contents

It looks like this page lack a table of contents. Other pages have it, but this doesn't. I can't seem to find a way to add one either... Perhaps someone could add it/shed some light on the issue? --Ullner 13:30, 6 April 2007 (EDT)

Ah, according to Wikipedia's help section, the page must contain more than 3 headings to get an automagic TOC. And this page only got three. So, it seems this will be fixed automagically once someone add a forth language. --Ullner 11:05, 8 April 2007 (EDT)
You can force a table of contents   (TOC)   by using the string:
          __TOC__   
which is a seven character string:   (underbar)(underbar)(3 uppercase letters of TOC)(underbar)(underbar).   Another name for underbar is underscore.   You can always remove the   __TOC__   after more computer programming languages are added.     -- Gerard Schildberger (talk)

The C code

I wrote the C code and I think it behaves like the Java one (except I had to implement synchronization myself), but I am not sure... and I am not sure to have understood the task, ... this is my first use of the pthreads, and first non-unique thread program (my normal use of a language is single threaded, even though I used simple semaphore to lock resources...)

So I added the template incorrect, maybe needing review is better, but the template says because of a change in the task... and it is not the case. Simply I would appreciate to have a check on my code, since I am not so sure of it. Of course, I've written it to solve this task exactly as I've read it today: ShinTakezou 17:14, 9 December 2008 (UTC)

Cookies help us deliver our services. By using our services, you agree to our use of cookies.