Re: unable to cancel from progress function
Cory Nelson <[email protected]> Sat, 17 Dec 2005 14:45:43 -0800
| Newsgroups | gmane.mail.spam.hashcash |
|---|---|
| Message-ID | <[email protected]> |
Woops! It was actually being caused by a small modification I made to hashcash. Sorry for the trouble. By the way, are there any plans to move the mmx functions into nasm so they can be used in more than GCC? On 12/17/05, Adam Back <[email protected]> wrote: > I tested this on windows 1.18 and linux 1.18 -- seems to work for me. > > (I modified the progress_callback in hashcash.c temporarily to return > 0, and it does interrrupt and stop the mint process. Note you need to > give -P for progress_callback to be used). > > Note that the callback is only called every 65536 tries for efficiency > so it is not completely immediate (depends on your processor speed). > > Adam > > On Sun, Nov 27, 2005 at 04:29:18PM -0800, Cory Nelson wrote: > > Hello! > > > > I'm making a small Windows UI for hashcash 1.18 and it doesn't seem to > > cancel a mint if I return 0. Is this a known bug? > -- Cory Nelson http://www.int64.org