Talk:Privileged API
From APIDesign
Comments on Privileged API <comments />
Jeffrey D Smith said ...
Thanks for your comments, Jeffrey. The method names are relict of the actual Mutex class in NetBeans and they do not make much sense in separate example. Thus I've just changed the method names.
Also I've answered your question in new revision of the page.
--JaroslavTulach 07:42, 26 May 2009 (UTC)
assomyJeoxy said ...
http://bicucati.00freehost.com/brand/abbyy/abbyy_finereader_9_0_ce_windows.html http://bicucati.00freehost.com/software/3d_modeling/ http://bicucati.00freehost.com/software/training_and_tutorials/illustrator_cs4_one-on-one_fundamentals.html
http://bivozoju.00freehost.com/brand/bigasoft/bigasoft_3gp_converter_2_5_0_3947_windows.html http://bivozoju.00freehost.com/brand/altrasoft/altrasoft_ascii_art_maker_1_71_windows.html http://bivozoju.00freehost.com/brand/autodesk/autodesk_autocad_2010_windows.html
http://cixuvala.00freehost.com/brand/symantec/symantec_norton_internet_security_2009_windows.html http://cixuvala.00freehost.com/brand/adobe/soundbooth_cs5.html http://cixuvala.00freehost.com/software/web_development/index.html
http://fajehoco.00freehost.com/software/photo_editing/autocad_for_mac_2011.html http://fajehoco.00freehost.com/software/training_and_tutorials/illustrator_cs4_one-on-one_fundamentals.html http://fajehoco.00freehost.com/software/plugins/abbey_road_tg_mastering_pack_1_0_2_windows.html
http://gijevun.00freehost.com/software/macintosh_software/dreamweaver_cs5_v11.html http://gijevun.00freehost.com/software/cd_dvd_tools/1click_dvd_movie_3_1_1_windows.html http://gijevun.00freehost.com/brand/adobe/creative_suite_4_design_premium.html
http://habegesi.00freehost.com/software/development_software/flash_decompiler_2_3_1_gold.html http://habegesi.00freehost.com/software/digital_vidio/bigasoft_flv_converter_2_5_0_3947_windows.html http://habegesi.00freehost.com/software/virus_protection/zonelabs_zonealarm_with_antivirus_8_0_windows.html
http://habegesi.00freehost.com/software/photo_editing/accessory_picture_organizer_5_2_windows.html http://habegesi.00freehost.com/brand/zonelabs/zonelabs_zonealarm_internet_security_suite_7_0_windows.html http://habegesi.00freehost.com/brand/mcafee/
http://muvefuco.00freehost.com/brand/ableton_ag/ableton_ag_suite_8_2_windows.html http://muvefuco.00freehost.com/software/language_and_travel/map_of_southern_africa_8_55_2884.html http://muvefuco.00freehost.com/brand/atomix/atomix_virtual_dj_pro_7_0_windows.html
http://vizequne.00freehost.com/software/virus_protection/zonelabs_zonealarm_extreme_security_8_0_windows.html http://vizequne.00freehost.com/brand/adobe/creative_suite_4_design_premium.html http://vizequne.00freehost.com/brand/geometric/dmfpro_for_solidworks_sp1_2_1_250.html
http://wupiqeb.00freehost.com/software/training_and_tutorials/flex_4_sdk_and_flash_builder_4_beta_preview.html http://wupiqeb.00freehost.com/brand/lynda/managing_spam_essential_training.html http://wupiqeb.00freehost.com/brand/bitdefender/total_security_2010_x86.html
http://bogoqap.00freehost.com/brand/lynda/rick_smolan_creative_inspirations.html http://bogoqap.00freehost.com/software/templates/index.html http://bogoqap.00freehost.com/brand/slysoft/anydvd_6_6_hd.html http://bogoqap.00freehost.com/brand/4videosoft/4videosoft_dvd_to_sony_xperia_suite_3_2_10_windows.html http://bogoqap.00freehost.com/software/utilities/microsoft_sql_server_2008_r2_datacenter_winodws.html
--[http://fajehoco.00freehost.com
assomyJeoxy] 02:53, 28 March 2011 (CEST)
In the readAccess(Runnable r) method, the call to lock.lock() must occur before the try block. Also, the method name "readAccess" is confusing, because it's not acquiring a read-only mutex (multi-threading), but a read-write mutex (single threading).
How do you stop unprivileged users from using the privileged constructor, thus gaining access to the privileged API?
--Jeffrey D Smith 21:48, 25 May 2009 (CEST)