Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not an issue, just learning and curious #28

Open
JHansen13 opened this issue Jan 4, 2023 · 2 comments
Open

Not an issue, just learning and curious #28

JHansen13 opened this issue Jan 4, 2023 · 2 comments

Comments

@JHansen13
Copy link

I've been reviewing the source code to learn more about SKSE plugin development.

I'm wondering where I could locate the source code for ITaskPool? It looks like it's a part of the precompiled header, but that's the only place I've been able to locate it. Is it from an external library of some source?

@SlavicPotato
Copy link
Owner

Is it from an external library of some source

Yeah, it's part of a library used for my plugins. I recently switched most stuff to MIT license, however that repo also contains some code from skse resources which isn't compatible with the license so I've privated it for now. It's not a general purpose library though, it's tailored to whatever I might need, often the changes are breaking so I'd discourage anyone from using it in any case (see commonlib instead)

That said, ITaskPool is just a simple task scheduler similar to what skse adds to allow scheduling tasks where BSTaskPool runs, the difference is that the hook is installed on the main game loop and it supports both one time and repeating (per-frame) tasks.

@JHansen13
Copy link
Author

Thank you. That's a great explanation. Do you have a discord or other location where you would be willing to answer more questions on SKSE dev?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants