Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums
Members
Pages
Search
Help
Register
Login
Home
Home
»
U++ Library support
»
U++ Callbacks and Timers
»
SetTimeCallback failure on arch=armv5l POSIX_PLATFORM
Show:
Today's Messages
::
Show Polls
::
Message Navigator
E-mail to friend
Resolved: SetTimeCallback failure on arch=armv5l POSIX_PLATFORM
[
message #16556
is a reply to
message #16546
]
Wed, 25 June 2008 17:44
jlfranks
Messages:
57
Registered:
May 2007
Location:
Houston, TX, USA
Member
We were able to identify the problem to line 88 of CtrlTime.cpp
and applied a correction as follows:
void Ctrl::TimerProc(dword time)
{
sTimerLock.Enter();
TimeEvent *list = tevents();
if(sTClick > time)
for(TimeEvent *e = list->GetNext(); e != list; e = e->GetNext())
// if(e->time > 0x80000000)
if(e->time >= 1000000000) // --jlf fixes freeze on 06/20/2008 22:13:20
e->time = 0;
sTClick = time;
sTimerLock.Leave();
Ctrl::CheckMouseCtrl();
Ctrl::SyncCaret();
sTimerLock.Enter();
while(list->GetNext() != list && list->GetNext()->time < time) {
TimeEvent *e = list->GetNext();
e->Unlink();
if(e->delay < 0)
sTimeCallback(time - e->delay, e->delay, e->cb, e->id);
sTimerLock.Leave();
e->cb();
sTimerLock.Enter();
delete e;
}
sTimerLock.Leave();
}
Report message to a moderator
[
Message index
]
SetTimeCallback failure on arch=armv5l POSIX_PLATFORM
By:
jlfranks
on Tue, 24 June 2008 17:10
Resolved: SetTimeCallback failure on arch=armv5l POSIX_PLATFORM
By:
jlfranks
on Wed, 25 June 2008 17:44
Re: Resolved: SetTimeCallback failure on arch=armv5l POSIX_PLATFORM
By:
mirek
on Wed, 25 June 2008 23:42
Re: SetTimeCallback failure on arch=armv5l POSIX_PLATFORM
By:
mr_ped
on Thu, 26 June 2008 09:16
Re: SetTimeCallback failure on arch=armv5l POSIX_PLATFORM
By:
mirek
on Thu, 26 June 2008 10:41
Re: SetTimeCallback failure on arch=armv5l POSIX_PLATFORM
By:
jlfranks
on Thu, 26 June 2008 16:25
Re: SetTimeCallback failure on arch=armv5l POSIX_PLATFORM
By:
mirek
on Thu, 26 June 2008 18:16
Previous Topic:
Is there an easy way to leverage callback into multi-cast delegate?
Next Topic:
SetTimeCallback without Graphics
Goto Forum:
- Community
U++ community news and announcements
PR, media coverage, articles and documentation
U++ Webs: Functioning, Layout , Design, Features and Structure of these forums, homepage etc.
Coffee corner
Newbie corner
U++ based job offers
- Developing U++
U++ Developers corner
External resources
Releasing U++
UppHub
Bugs (& fixes)
Documentation
U++ TheIDE and Library: Releases and ChangeLogs
Mac OS
Android
- U++ Library support
U++ Library : Other (not classified elsewhere)
U++ Core
Look and Chameleon Technology
U++ Libraries and TheIDE: i18n, Unicode and Internationalization
U++ SQL
U++ MT-multithreading and servers
U++ Callbacks and Timers
U++ Widgets - General questions or Mixed problems
TopWindow&PopUp, TrayIcon
Menus&Toolbars
StatusBar&InfoCtrl
Splitter
TabCtrl
Slider&ProgressIndicator
ArrayCtrl, HeaderCtrl & GridCtrl
TreeCtrl
RichText,QTF,RTF...
LineEdit, EditFields, DocEdit
Draw, Display, Images, Bitmaps, Icons
FileSel&FileList, Path
CalendarCtrl
Skylark
ScatterDraw & ScatterCtrl
Archive
- U++ TheIDE
U++ TheIDE: Other Features Wishlist and/or Bugs
U++ TheIDE: Compiling, Linking, Debugging of your packages
U++ TheIDE: Installation, Compiling and Running of theide
U++ TheIDE: CodeEditor, Assist++, Topic++
U++ TheIDE: Packages
U++ TheIDE: Layout (Forms) Designer
U++ TheIDE: Icon designer
- Extra libraries, Code snippets, applications etc.
U++ users applications in progress and useful code snippets, including reference examples!
U++ Esc Interpreter, Esc Macros and templates
C++ language problems and code snippets
Applications created with U++
OS Problems etc., Win32, POSIX, MacOS, FreeBSD, X11 etc
-=]
Back to Top
[=-
[
Syndicate this forum (XML)
] [
] [
]
Current Time:
Sun May 05 19:09:56 CEST 2024
Total time taken to generate the page: 0.01479 seconds