On Wed, 12 Jul 2006, Corinna Vinschen wrote: > On Jul 12 10:48, Brian Ford wrote: > > This is just a heads up for now as I plan to try and produce an STC > > with cygcheck output later today or tomorrow as time allows. But, just in > > case it rings any bells... > > Does it work with 1.5.20?
No, nor 1.5.19. 1.5.19 broke several things with respect to our application like: needing to sync the Windows environment with the Cygwin one due to a use of CreateProcess, needing to increase the scheduler resolution via timeBeginPeriod back to 1 ms, dealing with the .exe that is now appended to the /proc/self/exe symbolic link, etc. These were all our issues; not Cygwin ones. There was one Cygwin one with clock_[get|set]res that affected nanosleep in 1.5.19, but I submitted a patch for that and it is now included in 1.5.20. The point is, I've just gotten around to fixing all these known problems in our application and retesting. So please, no one complain that I didn't report it sooner. > *corinna mumbles something about a reproducible, self-contained testcase... * Brian mumbles about all the qualifications that one was coming soon when time permitted that were trying to avoid Corinna's mumbling above. Brian also mumbles that the attached STC is nothing more than wrapping the code fragment quoted in the previous message with a main, setting the variables as the comments indicated, and manually stripping out the preprocessor conditionals. * STC attached. (Why is it that no matter how hard I try to avoid objections to my emails I ALWAYS get them anyway? I know, WJM. I just tend to agree with others that this doesn't foster any good will in the Cygwin community. Yeah, I know, TITTTL, but I don't read that list.) -- Brian Ford Lead Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International the best safety device in any aircraft is a well-trained pilot... .
#include <sys/mman.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <stdio.h> #include <unistd.h> int main(void) { int fd, virt_size; void *addr; fd = -1; addr = NULL; virt_size = 0x18000000; addr = mmap(addr, virt_size, (PROT_READ|PROT_WRITE), (MAP_NORESERVE|MAP_PRIVATE|MAP_ANON), fd, 0); if (addr == MAP_FAILED) { perror("mapping VM scratch space"); close(fd); return -1; } *(volatile char *)addr; return 0; }
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/