Transforming LSI_info() to GetThreadInfo()
The undocumented function call LSI_Info() is suspected to cause trouble (read, crashes) on various occasions in Notes and Domino. So while using an undocumented function is not recommendable at all, this one seems to be a real cause of pain in many cases. We have seen servers that had LotusScript code using LSI_info() calls in them crashing mystically. So we have started to iron out calls to LSI_Info() as a step in stabilizing these servers, even though we have rarely made use of this function anyway. And it proofed to be helpful.
As the information that is retrieved by LSI_Info is extremely helpful in many occasions, simply removing those calls is not the best solution. Instead, replacing calls to LSI_Info() by appropriate other calls is much better. Most of the information provided by LSI_Info() can also be retrieved by its adult sister GetThreadInfo() which is not only documented but also supported. As for the other information that is not retrievable by GetThreadInfo(), I have no idea how to retrieve it other than by using LSI_Info() - but I would personally prefer a stable server and not to have that information as a server that is instable and maybe shows me some more information on rare scenarios.
For all the Information that is retrievable, simply replacing the keyword "LSI_Info" by "GetThreadInfo" is not applicable as both functions take different values to retrieve the same information. As a note to myself and to others who are attempting to do modify their code I have put together a parameter mapping of both calls. The parameters for LSI_Info() are taken from Johan Känngård, those for GetThreadInfo() come from Lotus/IBM:
Hope this helps not only me but others as well.
As the information that is retrieved by LSI_Info is extremely helpful in many occasions, simply removing those calls is not the best solution. Instead, replacing calls to LSI_Info() by appropriate other calls is much better. Most of the information provided by LSI_Info() can also be retrieved by its adult sister GetThreadInfo() which is not only documented but also supported. As for the other information that is not retrievable by GetThreadInfo(), I have no idea how to retrieve it other than by using LSI_Info() - but I would personally prefer a stable server and not to have that information as a server that is instable and maybe shows me some more information on rare scenarios.
For all the Information that is retrievable, simply replacing the keyword "LSI_Info" by "GetThreadInfo" is not applicable as both functions take different values to retrieve the same information. As a note to myself and to others who are attempting to do modify their code I have put together a parameter mapping of both calls. The parameters for LSI_Info() are taken from Johan Känngård, those for GetThreadInfo() come from Lotus/IBM:
![]() | LSI_Info() | GetThreadInfo() |
Current line number (in the LS source) | Lsi_Info(1) | GetThreadInfo(0) or GetThreadInfo(LSI_THREAD_LINE) |
Name of current procedure (i.e. function, sub or property) | Lsi_Info(2) | GetThreadInfo(1) or GetThreadInfo(LSI_THREAD_PROC) |
Name of current module (i.e. ScriptLibrary name) | Lsi_Info(3) | GetThreadInfo(2) or GetThreadInfo(LSI_THREAD_MODULE) |
LotusScript version number | Lsi_Info(6) | GetThreadInfo(3) or GetThreadInfo(LSI_THREAD_VERSION) |
(Human) language setting (e.g. 'en' for english) | Lsi_Info(9) | GetThreadInfo(4) or GetThreadInfo(LSI_THREAD_LANGUAGE) |
Country or region setting | n/a | GetThreadInfo(5) or GetThreadInfo(LSI_THREAD_COUNTRY) |
Current clock ticks | n/a | GetThreadInfo(6) or GetThreadInfo(LSI_THREAD_TICKS) |
Clock ticks per second (supported only on platforms that support parallel processing primitives) | n/a | GetThreadInfo(7) or GetThreadInfo(LSI_THREAD_TICKS_PER_SEC) |
Current process ID (supported only on platforms that support parallel processing primitives) | n/a | GetThreadInfo(8) or GetThreadInfo(LSI_THREAD_PROCESS_ID) |
Current task ID (supported only on platforms that support parallel processing primitives) | n/a | GetThreadInfo(9) or GetThreadInfo(LSI_THREAD_TASK_ID) |
name of the procedure that called this one (i.e. the caller) | Lsi_Info(12) | GetThreadInfo(10) or GetThreadInfo(LSI_THREAD_CALLPROC) |
name of the calling module | n/a | GetThreadInfo(11) or GetThreadInfo(LSI_THREAD_CALLMODULE) |
LotusScript Memory Allocated | Lsi_Info(50) | n/a |
LotusScript Memory Allocated from OS | Lsi_Info(51) | a/a |
LotusScript Blocks Used | Lsi_Info(52) | n/a |
Hope this helps not only me but others as well.
http://www.mpi-inf.mpg.de/~brahm/
Yes - that comes in handy. Great. Just corrected a couple of lines from Open Source projects ;-)
http://goo.gl/r3XPZH
Well done grateful sharing, Thank you for amazing knowledgeable words.We write this article excellently. Pleasant valued information.
{ Link }
http://happymothersday2017.com/happy-mothers-day-images-2017-pictures-wallpaper-banner/
{ Link }
{ Link }
http://isongsoundtrack.com/
{ Link }
http://hadooponlinetraininghyderabad.com
{ Link }
http://www.indiacabdeal.com
Hi, you are a great writer and teacher. You explained this point in such easy words that even a beginner can understand it.Its a Great Tutorial.really
http://hadooptraininginhyderabad.co.in/python-training-in-hyderabad/
Nice Article
http://packersmoverspune.org/
I must say you had done a tremendous job,I appreciate all your efforts.Thanks alot for your writings......Waiting for a new 1...Please visit our wonderful and valuable website.......
{ Link }
{ Link }
https://indiarush.com/
Visit indiarush.com and get a whorl of best collections of Lace Work lehenga and women dresses. One can also explore a wide range of beautiful jewellery and accessories.
https://indiarush.com/
Visit indiarush.com and get a whorl of best collections of Lace Work lehenga and women dresses. One can also explore a wide range of beautiful jewellery and accessories. https://indiarush.com/lace-work-lehengas-for-women/
http://telkomsel.site.my.id
there will be very happy here
{ Link }
http://www.lotterysambad.today
You can’t wait for your lottery results just one click here for lottery sambad - { Link }
http://essayagency417.com/
Hello!
{ Link } , , { Link } , ,
http://www.domyhomework4.com/
Hello!
{ Link } , , { Link } , ,
http://packersmoversbangalorein.com
While you are planning to shift your household items or office or shifting home in bangalore. Packers and Movers in Bangalore offers skilled professionals to do the entire loading and unloading activities very professionally while shifting household goods, electronic and other expensive goods, industrial or corporate stuffs.
- See more at: { Link }
http://www.skyproberita.com/
Success Always And greetings Friendship Thank You
http://galeriqq.com/
{ Link }
http://skyproberita.com
Modal Kecil Menang Besar Bonus Yang Sangat Menarik Menanti Anda Semua Bergabung Dan Tunjukan Kehebtan Permainan Anda Join Ya ^_^
http://skyproberita.com
Complete set of Trusted Online Gambling Site
http://sakongbandarq.com
Complete set of Trusted Online Gambling Site
http://genericviagranpx.com/
Hello!
{ Link } , ,
http://cialisforsalenrx.com/
Hello!
{ Link } , ,
http://www.awsguru.co.in/p/index.html
Nice Good
http://www.tssscresults2017.com/
WS Training
http://www.apsscresults2017.in/
ing LSI_info() to GetThreadInfo()
WS Training
http://via2professional.com/
Hello!
{ Link } , , { Link } , , { Link } , ,
https://10thsscresults2017.co.in/bseap-org-ap-ssc-results-2017-andhra-pradesh-10th-class-result-announced-manabadi-co-schools-9/66/
ap 10th class results 2017
http://onlineviagravzx.com/
Hello!
{ Link } , , { Link } , ,
http://www.awsguru.co.in/p/index.html
Nice Blog
http://karnatakasslcresult.co.in/
KSEEB Board is going to declare <a href="{ Link } SSLC Result</a> today. Students can check the results at official website of karresults.nic.in.
https://tnsslcresult.co.in/
<a href="https://tnsslcresult.co.in/">TN SSLC Result </a>will be declare on the 2nd week of May 2017. Students can check the results online.
http://happywomensdayquotes2017.in/
<a href="{ Link } Mothers Day Quotes 2017</a>
https://styloshopping.com/kurti
Get Ready to Purchase Stylish & Trendy Online Kurtis from Styloshopping Starting from 499
http://www.kareenaoberoi.com/
Spend memorable moments with gorgeous professional foreigner and delhi escorts girls in the best ever Female Escort in Delhi, India at affordable charges.We are available for 24x7.
http://www.tanishasinghania.com/
Highly Attractive & Beautiful Delhi Independent Escorts in Market’s Most Reasonable Prices
http://hondaqq.com
agen bandarq - { Link }
http://sakongbandarq.com
domino99 - { Link }
https://tnsslcresult.co.in/
TN Board is going to declare SSLC Result:
<a href="https://tnsslcresult.co.in/">tn sslc result </a>
<a href="https://tnsslcresult.co.in/">tamilnadu sslc result 2017 </a>
<a href="https://tnsslcresult.co.in/">tamilnadu 10th result </a>
<a href="https://tnsslcresult.co.in/">www.dge1.tn.nic.in</a>
http://www.dooiitt.com
Exclusive Collection of Salwar Suit and Many More…
We Have Some For You In Your Budget For more…
Plz visit:- <a href= "{ Link } Sarees</a>
http://www.dooiitt.com
Exclusive Collection of Salwar Suit and Many More…
We Have Some For You In Your Budget For more…
Plz visit:- <a href= "{ Link } Sarees</a>
http://hondaqq.com
agen domino 99 - { Link }
http://www.iorganifireviews.com/
organifi green juice reviews @ { Link }
organifi complete protein powder review @ { Link }
organifi complete protein review @ { Link }
http://www.cialisonline100.com/
Hello!
{ Link } , ,
http://www.sweetwhatsappstatus.in/
Superb Piece I have ever read on the web. I will be sharing this with my colleagues & friends on facebook, twitter and Google
http://packers-and-movers-delhi.in/
We Provide Best Packers And Movers Delhi List for Get Free Best Quotes, Compare Charges, Save Money And Time, Household
Shifting Services @ { Link }
http://www.parii.club/
The Chandigarh escort girls are quite excellent in providing awesome female escort dating services. We are Parii Chandigarh Escorts Club. We are top rated escorts service provider. Visit our website for check our girls photos or list.
http://www.packersmoversdeals.com/
Hire for the professional and reliable packers and movers company in Delhi NCR. Ask for the best deals for relocation and shifting or packers and movers services from Delhi NCR. We offers best deals on packers and movers services from Delhi NCR to your desired location at very affordable price.
http://crazybrotees.com/
Such a very useful article. Very interesting to read this article.I would like to thank you for the efforts you had made for writing this awesome article.
https://fixingblog.com/setup-netgear-range-extender-mywifiext-net/
Fabulous blog. Very well described this informative post by the author. Thanks.
Fix your technical problem with Fixingblog. We are also providing help for Belkin range.If you have any problem With Router, Range Extender, Antivirus etc.
http://fixingblog.com/setup-netgear-range-extender-mywifiext-net/
Fabulous blog. Very well described this informative post by the author. Thanks.
http://playviewapk.info/
Get latest version of playview apk
https://packersmovershyderabadcity.in/
Packers And Movers Hyderabad Local Household Shifting Service, Get Free Best Price Quotes Local Packers and Movers in Hyderabad List, Compare Charges, Save Money And Time.
https://packersmovershyderabadcity.in/
http://glimtechnologies.com/training-courses/php-online-training/
Very Interest information.Keep sharing.
{ Link }
{ Link }
{ Link }
https://thecatalystgroup.info
Catalyst group is online coaching institute for GATE IES & Civil Engineering, SSC JE online coaching classes. Catalyst group is best GATE, IES, JEN, PSUs, BSNL JTO coaching for Civil Engineering.
Visit My Website For Latest Free Internet Tricks, Facebook Tricks, Whatsapp Tricks & Many More : { Link }
https://bit.ly/2H7zQGA
https://bit.ly/2H7zQGA
http://www.mobileussdcodes.com
{ Link }
http://www.techmaniya.in/format-pendrive-with-command/
ggff
http://www.techmaniya.in/best-graphics-cards-rs-3000/
fbfffgbg
http://www.techmaniya.in/led-tv-under-10000-to-12000/
fgfgf
http://www.techmaniya.in/led-tv-under-20000/
fgfgf
http:// http://www.techmaniya.in/best-led-tv-rs-25000/
cvcvc
http://www.techmaniya.in/led-tv-under-30000/
ghghgh
http://www.mobileussdcodes.com/vodafone-number-best-special-offer-check/
ffgfgf
http://www.mobileussdcodes.com/airtel-number-best-special-offer-check-code/
ffgfg
http:// http://www.mobileussdcodes.com/idea-balance-check/
fgfgf
http://www.bestpromarket.com/best-mobile-phones-under-1000/
fgfgf
http://www.bestpromarket.com/best-mobile-phones-under-1500/
fgfgfg
http://www.bestpromarket.com/best-mobile-phones-under-2000/
hghghgh
http://www.bestpromarket.com/best-mobile-phones-under-2500/
fgfgfgf
http://www.bestpromarket.com/best-mobile-phones-under-3000/
ghghg
http://www.bestpromarket.com/best-mobile-phones-under-4000/
ghghg
http://www.bestpromarket.com/best-smartphones-under-5000/
ghghg
http://www.tutorialshubspot.com/check-jio-internet-data-balance/
ghghghg
http://www.tutorialshubspot.com/check-bsnl-internet-data-balance/
ghghgh
http://www.tutorialshubspot.com/check-idea-internet-data-balance/
ghghgh
http://www.tutorialshubspot.com/check-vodafone-internet-data-balance/
ghghg
http://www.tutorialshubspot.com/check-airtel-internet-data-balance/
ghghgh
http://www.genxguys.com/best-graphic-cards-under-100/
ghgh
http://www.chiragphotoworld.com/
ghghg
http://www.genxguys.com/
ghghg
http://picknhook.com/
Picknhook- Online Shopping site in India.
Thanks.
https://picknhook.com/
https://www.besanttechnologies.com/training-courses/java-training
Thank you a lot for providing individuals with a very spectacular possibility to read critical reviews from this site.
http://codestrumm.com
{ Link }
{ Link }
http://codestrumm.com/reliance-jio-ussd-codes/
nice work sir
http://interent
best protect in India <a href="{ Link } wireless mouse in india under 1000 </a>
http://interent
<a href="{ Link } activate jio caller tune </a>
http://interent
<a href="{ Link } mobile number check </a>
http://interent
<a href="{ Link } wireless mouse under 1000 </a> or
<a href="{ Link } best graphic card for gaming under 100 </a> or
<a href="{ Link } airtel net balance check </a>