equal
deleted
inserted
replaced
250 } |
250 } |
251 |
251 |
252 void CSynDecodeThread::ConstructL() |
252 void CSynDecodeThread::ConstructL() |
253 { |
253 { |
254 _LIT(KThreadName, "ImgDecoder"); |
254 _LIT(KThreadName, "ImgDecoder"); |
255 User::LeaveIfError(iDecoderThread.Create(KThreadName, CSynDecodeThread::ScaleInThread, KDefaultStackSize, KMinHeapSize, KMaxHeapSize, NULL)); |
255 RAllocator &allocator = User::Allocator(); |
|
256 User::LeaveIfError(iDecoderThread.Create(KThreadName, CSynDecodeThread::ScaleInThread, KDefaultStackSize, &allocator, NULL)); |
256 iDecoderThread.SetPriority(EPriorityMore); |
257 iDecoderThread.SetPriority(EPriorityMore); |
257 TRequestStatus status = KRequestPending; |
258 TRequestStatus status = KRequestPending; |
258 iDecoderThread.Rendezvous(status); |
259 iDecoderThread.Rendezvous(status); |
259 iDecoderThread.Resume(); |
260 iDecoderThread.Resume(); |
260 User::WaitForRequest(status); |
261 User::WaitForRequest(status); |