in order for compost to be totally weed, pest, bacteria free it needs to reach 140 degrees. The temperature of the pile should be maintained between 100° and 140° in order to kill most pathogens and weeds seeds. As the temps drop, the microbial activity gradually slows. If it goes below 20°, the soil biota will stop working. Once the temperature drops on its own this means the compost is ready.
Reality: unless you are serious about proper composting for your garden (many aren't and always wonder why they still have weeds and other problems directly from their compost pile) you have not followed these rules.
So, a basic rule is that if your compost is nice and crumbly, has some earthworms and other detritus feeders (pillbugs included) it is probably oK for your purposes. If there are still a lot of big pieces of plants, and a lot that is not broken down there is a chance that there may be some chemicals, etc. that have not been broken down - but again, this depends on what goes IN to the pile.
Yours is probably OK. the tiny white bugs may be springtails which are fine (do they jump?) If they are in fact aphids, then your pile did not reach anywhere near the appropriate temps. These won't hurt your pillbugs but if you transfer any of this soil into your plants you may end up with an aphid infestation.
Of more concern than parasites are chemicals. If most of what goes into the pile is chemical free you should be OK.
I always wonder if I help or make things clear as mud when I reply to some of this. It's second nature (no pun intended
) to me but I try to have it make sense. Let me know if you need clarification
lele
-----
0.1 veiled - Luna
0.2 house geckos - Gaia & Tia (MIA 
0.2 felines - Kyndra and Líta