--
You received this message because you are subscribed to the Google Groups "Art of Multiprocessor Programming" group.
To unsubscribe from this group and stop receiving emails from it, send an email to art-of-multiprocessor-...@googlegroups.com.
To post to this group, send email to art-of-multiproc...@googlegroups.com.
Visit this group at http://groups.google.com/group/art-of-multiprocessor-programming.
For more options, visit https://groups.google.com/d/optout.
Then have this main function make use of the code you're trying to test.If the code doesn't have a main function, then it's intended to be used by other
code but not directly executed. You probably should write your own main function
inside a class in another file, with this signature:
class Whatever
{public static void main(String args[]){
}
}
Chris
On Thu, Apr 17, 2014 at 2:29 PM, Elisangela Silva <silva...@gmail.com> wrote:
Good AfternoonI Try execute the code for examples of the book.for example: the peterson algorithm of the package mutex (chapter 2), but i could not because the compiler error is:Class mutex.Peterson doesnot a main methodi need add something in the code, to that compile
Please, How can I Resolve this?some idea?Thanks very much.
--
You received this message because you are subscribed to the Google Groups "Art of Multiprocessor Programming" group.
To unsubscribe from this group and stop receiving emails from it, send an email to art-of-multiprocessor-programming+unsubscribe@googlegroups.com.
To post to this group, send email to art-of-multiprocessor-progr...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Art of Multiprocessor Programming" group.
To unsubscribe from this group and stop receiving emails from it, send an email to art-of-multiprocessor-...@googlegroups.com.
To post to this group, send email to art-of-multiproc...@googlegroups.com.