Go to file
Nat Goodspeed 08336bb469 SL-16094: Zap thread safety land mine; thin PostMessage() calls.
LLWindowWin32::mWndProc was a public WNDPROC member. If set non-NULL,
mainWindowProc() would call that before falling into its own handler code. But
now, mWndProc would be called on the window thread instead of on the main
thread. Running arbitrary callback code on the window thread could cause all
sorts of problems.

It could be made safe by posting the callback call to the "mainloop" WorkQueue
for execution on the main thread. But as no code actually references it,
delete it instead.

Per DaveP, the recent change to LLWindowsWin32Thread::post() could end up
calling PostMessage() many times per frame, with nontrivial overhead.
Reinstate the more selective code that calls PostMessage() with the dummy
message (to bust us out of GetMessage() to check pending window-thread work
requests) at most once per frame.
2021-11-08 15:15:56 -05:00
debian try to suppress some debian errors we don't care about 2015-11-10 09:55:05 -05:00
doc SL-16127: Make another pass removing redundant LLSD op [] calls, unused vars, and use atmospheric already calculated 2021-10-27 10:05:13 -07:00
etc SL-694 - stub support for ObjectAnimation message type 2017-05-30 22:03:43 +01:00
indra SL-16094: Zap thread safety land mine; thin PostMessage() calls. 2021-11-08 15:15:56 -05:00
scripts SL-15999 - made cwd handling a bit more robust in perfbot_run.py 2021-10-22 18:49:54 +01:00
.clang-format DRTVWR-497 tweak clang-format rules for argument packing 2020-08-24 13:52:57 -06:00
.gitignore Ignore build-vc160-64 2021-09-24 15:21:35 -05:00
.hgtags Added tag 6.3.5-release for changeset 27ca5834bfe9 2019-12-12 13:15:52 -05:00
BuildParams SL-10297: Modify LL_ERRS and other deliberate crashes to avoid a common stack frame 2019-01-16 11:05:55 -05:00
README.md Revert "Merge branch 'master' of https://bitbucket.org/lindenlab/viewer into DRTVWR-519" 2021-03-08 13:56:16 +00:00
autobuild.xml SL-16220: Merge branch 'master' into sl-16220 2021-10-22 11:54:18 -04:00
build.sh SL-16220: Merge branch 'master' into sl-16220 2021-10-22 11:54:18 -04:00

README.md

Second Life Viewer

This project manages the source code for the Second Life Viewer.

This source is available as open source; for details on licensing, see the licensing page on the Second Life wiki

For information on how to use and contribute to this, see the open source portal on the wiki.

To download the current default version, visit the download page. For even newer versions try the Alternate Viewers page