xinitrc86 / zthread Goto Github PK
View Code? Open in Web Editor NEWSimple Thread implementation for ABAP. Based on JAVA Thread, its Runnable interface with some additional callback capabilities.
License: MIT License
Simple Thread implementation for ABAP. Based on JAVA Thread, its Runnable interface with some additional callback capabilities.
License: MIT License
"hardcoded 3 on purpose. Less than that and systems get weird.
" ...
while num_free_dia_wps < 3.
"can lead to starvation if server usage is too high for too long
wait up to '0.2' seconds.
call 'ThWpInfo'
id 'OPCODE' field opcode_wp_get_info
id 'WP' field num_wps
id 'FREE_DIAWP' field num_free_dia_wps.
endwhile.
Does this mean that during parallelization more than 2 users will not be able to log into the system, because will all dialog processes (DIA) be busy?
It is checked whether runnable is an instance of ZIF_RUNNABLE.
zthread/src/zcl_thread.clas.abap
Line 251 in 0c8cdb7
We´ve replaced it currently with:
rv_is_runnable = xsdbool( cl_wdy_wb_reflection_helper=>is_instance_of( object = o_runnable type_name = 'ZIF_RUNNABLE' ) and lv_name <> '\CLASS=ZCL_THREAD' ).
https://codezentrale.de/abap-funktion-instanceof/
Do we have another option here?
There is currently no way to specify a server group (RZ12) when the FM ZTHREAD_START is called. Is this a bug or a feature?
Hi!
If you plan to place this project on dotabap.org, how about prefixing the objects so that there is no collision between repositories?
Suggest that you prefix object names, eg. zcl_thrd_thread_pool_executor.clas.abap
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.