|
|
Home » U++ Library support » U++ MT-multithreading and servers » Threading example for U++
Re: Threading example for U++ [message #10574 is a reply to message #10416] |
Tue, 17 July 2007 03:40 |
nixnixnix
Messages: 415 Registered: February 2007 Location: Kelowna, British Columbia
|
Senior Member |
|
|
should this code compile on a default install of 2007.1 under windows?
I get
----- plugin\z ( GUI MT GCC FORCE_SPEED BLITZ WIN32 ) (7 / 9)
adler32.c
plugin/bmp: 4 file(s) built in (0:01.67), 417 msecs / file, duration = 3500 msecs, parallelization 100%
compress.c
crc32.c
deflate.c
gzio.c
infblock.c
infcodes.c
inffast.c
inflate.c
inftrees.c
infutil.c
trees.c
uncompr.c
zutil.c
----- plugin\png ( GUI MT GCC FORCE_SPEED BLITZ WIN32 ) (8 / 9)
pnglib.c
plugin\z: 14 file(s) built in (0:01.26), 90 msecs / file, duration = 3954 msecs, parallelization 100%
pngupp.cpp
pngreg.icpp
----- ThrFractRend ( GUI MT MAIN GCC FORCE_SPEED BLITZ WIN32 ) (9 / 9)
BLITZ: ThrFractRend_design.cpp ThrFractRend_sse2.cpp ThrFractRend.cpp main.cpp Paintbox.cpp
plugin\png: 3 file(s) built in (0:04.26), 1420 msecs / file, duration = 8781 msecs, parallelization 100%
Core: 36 file(s) built in (0:11.13), 309 msecs / file, duration = 30922 msecs, parallelization 100%
In file included from C:\MyApps\ThrFractRend\ThrFractRend_design.cpp:42,
from C:/upp/out/ThrFractRend/MINGW.Blitz.Force_speed.Gui.Main.Mt\ $blitz.cpp:3:
C:\MyApps\ThrFractRend\/ThrFractRend.h:84: error: `Mutex' does not name a type
C:\MyApps\ThrFractRend\/ThrFractRend.h:85: error: `Mutex' does not name a type
In file included from C:/upp/out/ThrFractRend/MINGW.Blitz.Force_speed.Gui.Main.Mt\ $blitz.cpp:10:
C:\MyApps\ThrFractRend\ThrFractRend_sse2.cpp: In member function `void mtfr::Threads::FnMandelbrot(const mtfr::ComplexD&, unsigned int*) const':
C:\MyApps\ThrFractRend\ThrFractRend_sse2.cpp:51: error: `__m128d' undeclared (first use this function)
C:\MyApps\ThrFractRend\ThrFractRend_sse2.cpp:51: error: (Each undeclared identifier is reported only once for each function it appears in.)
C:\MyApps\ThrFractRend\ThrFractRend_sse2.cpp:51: error: expected `;' before "C0"
C:\MyApps\ThrFractRend\ThrFractRend_sse2.cpp:54: error: `C4' undeclared (first use this function)
C:\MyApps\ThrFractRend\ThrFractRend_sse2.cpp:54: error: `_mm_set1_pd' undeclared (first use this function)
C:\MyApps\ThrFractRend\ThrFractRend_sse2.cpp:55: error: `C0' undeclared (first use this function)
C:\MyApps\ThrFractRend\ThrFractRend_sse2.cpp:55: error: `_mm_setr_pd' undeclared (first use this function)
C:\MyApps\ThrFractRend\ThrFractRend_sse2.cpp:57: error: `X0' undeclared (first use this function)
C:\MyApps\ThrFractRend\ThrFractRend_sse2.cpp:60: error: `X1' undeclared (first use this function)
C:\MyApps\ThrFractRend\ThrFractRend_sse2.cpp:60: error: `_mm_mul_pd' undeclared (first use this function)
C:\MyApps\ThrFractRend\ThrFractRend_sse2.cpp:61: error: `X2' undeclared (first use this function)
C:\MyApps\ThrFractRend\ThrFractRend_sse2.cpp:61: error: `_mm_unpackhi_pd' undeclared (first use this function)
C:\MyApps\ThrFractRend\ThrFractRend_sse2.cpp:62: error: `X3' undeclared (first use this function)
C:\MyApps\ThrFractRend\ThrFractRend_sse2.cpp:62: error: `_mm_add_sd' undeclared (first use this function)
C:\MyApps\ThrFractRend\ThrFractRend_sse2.cpp:63: error: `_mm_comigt_sd' undeclared (first use this function)
C:\MyApps\ThrFractRend\ThrFractRend_sse2.cpp:66: error: `X4' undeclared (first use this function)
C:\MyApps\ThrFractRend\ThrFractRend_sse2.cpp:69: error: `_mm_sub_sd' undeclared (first use this function)
C:\MyApps\ThrFractRend\ThrFractRend_sse2.cpp:71: error: `_mm_mul_sd' undeclared (first use this function)
C:\MyApps\ThrFractRend\ThrFractRend_sse2.cpp:75: error: `_mm_unpacklo_pd' undeclared (first use this function)
C:\MyApps\ThrFractRend\ThrFractRend_sse2.cpp:76: error: `_mm_add_pd' undeclared (first use this function)
C:\MyApps\ThrFractRend\ThrFractRend_sse2.cpp: In member function `void mtfr::Threads::FnJulia(const mtfr::ComplexD&, unsigned int*) const':
C:\MyApps\ThrFractRend\ThrFractRend_sse2.cpp:85: error: `__m128d' undeclared (first use this function)
C:\MyApps\ThrFractRend\ThrFractRend_sse2.cpp:85: error: expected `;' before "C0"
C:\MyApps\ThrFractRend\ThrFractRend_sse2.cpp:88: error: `C4' undeclared (first use this function)
C:\MyApps\ThrFractRend\ThrFractRend_sse2.cpp:88: error: `_mm_set1_pd' undeclared (first use this function)
C:\MyApps\ThrFractRend\ThrFractRend_sse2.cpp:89: error: `C0' undeclared (first use this function)
C:\MyApps\ThrFractRend\ThrFractRend_sse2.cpp:89: error: `_mm_setr_pd' undeclared (first use this function)
C:\MyApps\ThrFractRend\ThrFractRend_sse2.cpp:90: error: `X0' undeclared (first use this function)
C:\MyApps\ThrFractRend\ThrFractRend_sse2.cpp:94: error: `X1' undeclared (first use this function)
C:\MyApps\ThrFractRend\ThrFractRend_sse2.cpp:94: error: `_mm_mul_pd' undeclared (first use this function)
C:\MyApps\ThrFractRend\ThrFractRend_sse2.cpp:95: error: `X2' undeclared (first use this function)
C:\MyApps\ThrFractRend\ThrFractRend_sse2.cpp:95: error: `_mm_unpackhi_pd' undeclared (first use this function)
C:\MyApps\ThrFractRend\ThrFractRend_sse2.cpp:96: error: `X3' undeclared (first use this function)
C:\MyApps\ThrFractRend\ThrFractRend_sse2.cpp:96: error: `_mm_add_sd' undeclared (first use this function)
C:\MyApps\ThrFractRend\ThrFractRend_sse2.cpp:97: error: `_mm_comigt_sd' undeclared (first use this function)
C:\MyApps\ThrFractRend\ThrFractRend_sse2.cpp:100: error: `X4' undeclared (first use this function)
C:\MyApps\ThrFractRend\ThrFractRend_sse2.cpp:103: error: `_mm_sub_sd' undeclared (first use this function)
C:\MyApps\ThrFractRend\ThrFractRend_sse2.cpp:105: error: `_mm_mul_sd' undeclared (first use this function)
C:\MyApps\ThrFractRend\ThrFractRend_sse2.cpp:109: error: `_mm_unpacklo_pd' undeclared (first use this function)
C:\MyApps\ThrFractRend\ThrFractRend_sse2.cpp:110: error: `_mm_add_pd' undeclared (first use this function)
In file included from C:/upp/out/ThrFractRend/MINGW.Blitz.Force_speed.Gui.Main.Mt\ $blitz.cpp:14:
C:\MyApps\ThrFractRend\ThrFractRend.cpp: In member function `void mtfr::Threads::picbox_Paint(Upp::Draw&)':
C:\MyApps\ThrFractRend\ThrFractRend.cpp:82: error: `job_lock' undeclared (first use this function)
C:\MyApps\ThrFractRend\ThrFractRend.cpp:93: error: `image_lock' undeclared (first use this function)
C:\MyApps\ThrFractRend\ThrFractRend.cpp: In member function `void mtfr::Threads::ThreadRenderJob(int, int, const Upp::Callback2<const mtfr::ComplexD&, unsigned int*>&, int)':
C:\MyApps\ThrFractRend\ThrFractRend.cpp:131: error: `job_lock' undeclared (first use this function)
C:\MyApps\ThrFractRend\ThrFractRend.cpp:133: error: `image_lock' undeclared (first use this function)
C:\MyApps\ThrFractRend\ThrFractRend.cpp:135: error: no matching function for call to `Upp::Semaphore::Release()'
C:/upp/uppsrc/Core/Thread.h:70: note: candidates are: void Upp::Semaphore::Release(int)
C:\MyApps\ThrFractRend\ThrFractRend.cpp: In member function `void mtfr::Threads::Process(const Upp::Callback2<const mtfr::ComplexD&, unsigned int*>&)':
C:\MyApps\ThrFractRend\ThrFractRend.cpp:197: error: `callback4' undeclared (first use this function)
C:\MyApps\ThrFractRend\ThrFractRend.cpp:199: error: `job_lock' undeclared (first use this function)
ThrFractRend: 5 file(s) built in (0:02.48), 496 msecs / file, duration = 4031 msecs, parallelization 16%
There were errors. (1:15.50)
nick
[Updated on: Tue, 17 July 2007 03:42] Report message to a moderator
|
|
|
|
|
Threading example for U++
|
|
|
Re: Threading example for U++
By: mirek on Mon, 25 June 2007 08:47
|
|
|
Re: Threading example for U++
|
|
|
Re: Threading example for U++
By: mirek on Mon, 25 June 2007 10:00
|
|
|
Re: Threading example for U++
|
|
|
Re: Threading example for U++
By: unodgs on Tue, 26 June 2007 11:54
|
|
|
Re: Threading example for U++
|
|
|
Re: Threading example for U++
By: ebojd on Tue, 26 June 2007 20:28
|
|
|
Re: Threading example for U++
By: mirek on Tue, 26 June 2007 20:55
|
|
|
Re: Threading example for U++
|
|
|
Re: Threading example for U++
By: mirek on Tue, 26 June 2007 21:05
|
|
|
Re: Threading example for U++
|
|
|
Re: Threading example for U++
|
|
|
Re: Threading example for U++
|
|
|
Re: Threading example for U++
|
|
|
Re: Threading example for U++
By: mirek on Wed, 27 June 2007 08:24
|
|
|
Re: Threading example for U++
|
|
|
Re: Threading example for U++
By: mirek on Wed, 27 June 2007 08:21
|
|
|
Re: Threading example for U++
|
|
|
Re: Threading example for U++
|
|
|
Re: Threading example for U++
By: mirek on Thu, 28 June 2007 18:59
|
|
|
Re: Threading example for U++
|
|
|
Re: Threading example for U++
By: mirek on Sat, 30 June 2007 17:59
|
|
|
Re: Threading example for U++
By: mirek on Sat, 30 June 2007 18:09
|
|
|
Re: Threading example for U++
|
|
|
Re: Threading example for U++
By: mirek on Sat, 30 June 2007 20:17
|
|
|
Re: Threading example for U++
By: mirek on Sun, 01 July 2007 00:31
|
|
|
Re: Threading example for U++
|
|
|
Re: Threading example for U++
By: mirek on Sun, 01 July 2007 21:15
|
|
|
Re: Threading example for U++
|
|
|
Re: Threading example for U++
By: mirek on Mon, 02 July 2007 08:27
|
|
|
Re: Threading example for U++
|
|
|
Re: Threading example for U++
|
|
|
Re: Threading example for U++
|
|
|
Re: Threading example for U++
By: mirek on Tue, 17 July 2007 14:52
|
|
|
Re: Threading example for U++
|
|
|
Re: Threading example for U++
By: bonami on Wed, 08 August 2007 02:59
|
|
|
Re: Threading example for U++
By: arturbac on Wed, 08 August 2007 23:38
|
|
|
Re: Threading example for U++
By: bonami on Thu, 09 August 2007 05:35
|
|
|
Re: Threading example for U++
By: arturbac on Thu, 09 August 2007 21:59
|
|
|
Re: Threading example for U++
By: bonami on Fri, 10 August 2007 08:46
|
|
|
Re: Threading example for U++
By: mirek on Fri, 17 August 2007 19:45
|
|
|
Re: Threading example for U++
By: bonami on Tue, 04 September 2007 09:05
|
Goto Forum:
Current Time: Sun Apr 28 08:49:27 CEST 2024
Total time taken to generate the page: 0.04852 seconds
|
|
|